This topic has 7 replies, 3 voices, and was last updated 4 years, 5 months ago ago by Olga Barlow
Hi Guys,
I’ve exctracted the XStore Child Theme Files and started working with them. My child theme is activated and all seem to be ok, except of the fact that styles.css in the child theme does not overwrite styles.css of parent thme.
This is how the functions.php file looks like:
https://www.8theme.com/
Description: XStore Child Theme
Author: 8theme
Author URI: https://www.8theme.com
Template: xstore
Version: 0.0.1
Text Domain: xstore-child
*/
Please give me a hint what should be changed?
Hello,
Did you download XStore child theme from our site – https://www.8theme.com/downloads/ ? Does your custom CSS code works from Theme Options > Theme custom CSS but doesn’t work from style.css of the child theme?
Regards
Hello,
Yes, I have downloaded the child theme file from your files after buying your theme from themeforest. The css code I’m writing works when I put it into Theme Options > Theme custom and also works when I put in the custom css field of wpbakery pagebuilder.
Cheers
Hello,
Do you have any cache plugin installed? Did you clear the browser cache because the browser cache the CSS files? https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn/RK%3D2/RS%3DzwqaryCReNAACSfd_oYYPpX0_tw-
Theme Options and WPBakery custom creates inline styles not the css file that’s why you can see them immediately.
Regards
Hello,
I have deactivated my cache plugin and have also cleared the cache in the browser. No success though. Is there something else that I might be missing?
Regards,
Hello,
Just cleared my all time cache and it works. However I have to declare !important to force the styles. They are not overwriting otherwise.
Regards,
Hello,
Everything depends on styles you want to overwrite. Sometimes you just need to add more parent selectors, sometimes important is required. Everything depends on the parent styles.
Regards
You must be logged in to reply to this topic.Log in/Sign up