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:
Description: XStore Child Theme
Author URI: https://www.8theme.com
Text Domain: xstore-child
Please give me a hint what should be changed?Site URL: hidden Theme version: 6.3.4 WooCommerce version: 4.1.1
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.
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.
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?
Just cleared my all time cache and it works. However I have to declare !important to force the styles. They are not overwriting otherwise.
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.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.