Tagged: child theme, CSS
-
AuthorPosts
-
May 27, 2018 at 4:44 pm #962811
I’m having some issues using the styles.css file in my child theme folder. My input there doesn’t have any effect on the website. Only after typing something into Quick CSS (saving it and deleting it again) the input into the child themes styles.css is taking effect.
Any help is very appreciated, thanks in advance.
Regards
PatrickMay 28, 2018 at 3:03 pm #963275Hey heiwo2,
Is there any other code in the Quick css?
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaMay 28, 2018 at 3:57 pm #963322Hi Victoria,
attached ist the login information.
Right now, the Quick CSS is empty.
Thanks,
PatrickMay 30, 2018 at 1:48 pm #964223Hi Patrick,
Can you please share the css that does not work in Quick css?
Best regards,
VictoriaMay 30, 2018 at 1:59 pm #964244HI Victoria,
the CSS does work in Quick CSS! I have trouble with the CSS in the Child Theme – there my input does not have any effect on the website.
It works only after:
1. typing something into Quick CSS
2. saving it
3. deleting it againHere’s a CSS example, I had trouble with:
.logo {
display: none !important;
}Best, Patrick
June 1, 2018 at 4:05 pm #965431Hi,
You may not see the changes after adding styles to your child theme because:
1. Please use pure CSS in the editor I noticed you are using another processing language.
2. Disable “merging and compression” for CSS and JS files from Enfold > Performance.
3. If a caching plugin is installed check the plugin settings and clear the cache and deactivate the plugins for testing purpose.
4. Hard refresh by pressing Ctrl + Shift + F5 on your browser or press the F12 key to open chrome dev tools and right click on the refresh button and select “Empty Cache and Hard Reload”.
Best regards,
VinayJune 2, 2018 at 10:45 am #965756Hi Vinay,
thanks for your help. I wasn’t aware of not using pure CSS – it’s weird, but in my style.css it looked just as it supposed to:
.event {
color: #fff;
}Anyway, I retyped everything into a new style.css and disabled the options in Enfold > Performance as you recommended. Now everything works perfectly. Problem solved – thank you very much for your help.
Best regards,
PatrickJune 2, 2018 at 12:17 pm #965813Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Vinay -
AuthorPosts
- The topic ‘Styles work in child theme style.css only after typing something into Quick CSS’ is closed to new replies.