I’d like to make some custom changes in the style.css of child theme but the file doesn’t affects my page. I copied the strings that I wanted to modify from the original css (to have the correct syntax) and then changed the parameters but I didn’t get success.
I tried to use simply the custom css field in Theme Options but these new modifies neither do work there.
Anyway, what’s the difference between these two ways of customizing styles?
(I just want to change the button colours -again-, but it seems to be the hardest task for me after every update, I can only do it in the original css and of course it has been overwritten every time)
Site URL: hidden Theme version: 5.0 WooCommerce version: 3.6.4
What exactly code doesn’t work from style.css of child theme? Please provide screenshots. You can use such screenshot maker as Lightshot https://prnt.sc/
Which code doesn’t work from Theme Options > Custom CSS?
Have you cleared cache?
Please provide temporary wp-admin access.
Custom CSS code from Theme Options is generated into dynamic.css file of the child theme.
since then I tried to add !important tags to the code and it works this way. Is it possible that I have to use the tag on every css modification? Till now it’s the only solution in every case 😮
Which way is better if I have a big amount of css changes, Custom CSS or the Child Theme style.css?
1) Everything depends on the styles you want to overwrite. If styles in the parent theme contain Important then you won’t overwrite them without that. But if styles of the parent theme do not have important then you can overwrite them just using dipper selector structure.
We would recommend using child theme style.css if you have a lot of CSS styles.
2) You are using the Ultimate Addons option to add parallax image and seems that plugin does not enable scripts on the blog page. Provide FTP access to find out why.
3) If you have questions that are not related to mentioned above then it would be better to create the new topic to avoid misunderstanding.