Tagged: child theme, CSS, enfold
-
AuthorPosts
-
February 21, 2016 at 12:46 am #586553
Hello everyone,
I’ve recently purchased the Enfold theme and I wanted to create an enfold-child. I’m quite used to WP, but I followed exactly what was written on http://kriesi.at/documentation/enfold/using-a-child-theme/ (to make no mistake). I downloaded the pre-built child theme, activated it on my website, and I started editing style.css.
The problem is that once the style.css?ver=1 was uploaded, the next css modifications didn’t work, despite all my researches on the Internet and especially on this support forum. The php codes in the function.php file to avoid css caching or to delete the ?=$version in the css url file didn’t change anything… I have the last Enfold update and no solution at this time :(
Help please !
Oscar.
February 21, 2016 at 6:45 pm #586714On different Themes i would use child themes style.css aswell. But on Themes which have an theme options css i use this one. So why don’t you use the quick css in Enfold options? this works well and on updating the theme no loss of info (like style css of child theme too)
On “Mother Theme CSS” style.css you can read the following:/*
* PLEASE DO NOT EDIT THIS FILE!
*
* This file is only in your themefolder for WordPress to recognize basic theme data like name and version
* CSS Rules in this file will not be used by the theme.
* Instead use the custom.css file that is located in your themes /css/ folder to add your styles.
* You can copy a style rule from any of your css files and paste it in custom.css and
* it will override the original style. If you just want to add small css snippets you might also
* want to consider to add it to the designated CSS option field in your themes backend at: Theme Options->General Styling
*/so i think this will be for child theme as well.
or use the custom.css as mentioned in above
February 21, 2016 at 9:02 pm #586743Hi!
Those are useful information!
Please do let us know if you need anything else, we will be more than happy to help.Cheers!
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.