Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #194838

    I’ve just made my first Enfold site live.

    Had a few glitches along the way, but followed the advice here to allow the home page URL recognise the WP site, which in a sub-directory – http://www.bizquarium.com/install-wordpress-subdirectory

    My index.php file, in the root directory, now has this redirection line:

    require( dirname( __FILE__ ) . '/subdirectory/wp-blog-header.php' );

    All of the WP Enfold content files are still in the subdirectory named.

    Anyway, seemed to go kind of OK, except I had to manually change all of my internal page links, removing the sub-directory from the links. There’s probably an easier/better way to do this, I’m not experienced in WP.

    But I do seem to have lost my custom.css edits, so the site isn’t quite looking how I want it.

    I can see a css file called custom.css in subdirectory/wp-content/themes/enfold/css, but it doesn’t contain any of my edits.

    When I edit the custom.css within WP/Enfold, all of the edits are there…

    Can you tell me where I’m going wrong?

    #195062

    Hi Niels!

    Can you just copy the edits or css from the WP/Enfold to the subdirectory’s custom.css?

    Cheers!
    Ismael

    #195086

    I probably could Ismael, but I’d like to keep the custom CSS separate from Enfold’s them CSS, for two reasons.

    Firstly I will be handing the site over to my client for updating and any future theme upgrade would probably overwrite the custom.css. Secondly, I would also like to be able to easily tweak the CSS with the WP dashboard in the way I have been able to do so far.

    I’ve discovered that editing the Custom CSS within the WP Enfold appearance dashboard changes the files custom-css-full.css and custom-css-1385755199.min, and not the file custom.css.

    To make the site live, I’ve moved the index.php file out of the development subdirectory to the root, and pointing to the subdirectory containing the WP site – I think telling WP where the edited custom-css files are would cure the problem.

    I just can’t see where I should make this change to point WP to custom-css-1385755199.min – hope you can tell me how.

    #195141

    Hi!

    You can use a child theme for this purpose. You can add the css modifications on the child theme’s style.css to avoid being overwritten when you update the theme. When you say “Custom CSS” are you talking about the Quick CSS? Note that all edits or css changes are saved on wp-content/uploads/dynamic_avia/enfold.css file, not on custom.css. Please watch this video on how to create a child theme: http://vimeo.com/channels/aviathemes/67221517

    Regards,
    Ismael

    #195298

    Thanks for that Ismael.

    I have looked at the video and creating a Child Theme looks an interesting for the future. But as Devin says in the video, it should be planned and started before Enfold is installed. As the site is now live, that’s not really an option for me now.

    I have received some good help from the Kriesi team regarding styling changes in the last 3 weeks as I have built my first WordPress Enfold site. All of the changes suggested by the Kriesi team have been written through the Enfold/WP Dashboard/Appearance/Custom CSS and above the editing window I see the title ‘Custom CSS’ – see screenshot attached.

    http://i.imgur.com/Loh22ye.png

    I have traced the file it writes to – it is called custom-css-full.css (and seems to be ‘compressed’ to custom-css-1385755199.min for code efficiency).

    http://i.imgur.com/9Hy7wKr.png

    When I have edited the Custom (or Quick?) CSS in this way, my changes could be instantly seen and the Enfold main theme CSS file was not altered.

    Since I made the site live (by moving the index.php file out of the development subdirectory to the root, and pointing the home page URL to the subdirectory containing the WP Enfold site) I have lost the Custom/Quick CSS changes, I guess because my Enfold theme can’t find them.

    Can you tell me how I can get Enfold to see the Custom/Quick CSS edits in the way it used to be able to see them?

    I’m sure it simply a case of pointing to the right CSS file – I think it’s a line involving: id=’custom-css-css’

    #195615

    Hey!

    The Custom CSS highlighted there is not part of the theme. My guess is that is from a plugin.

    Cheers!
    Devin

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Enfold: lost custom css (?)’ is closed to new replies.