Hi
Been making changes to my style.css via ftp however the changes don’t appear online?
Am i supposed to make changes somewhere else?
Thanks
Hi
Been making changes to my style.css via ftp however the changes don’t appear online?
Am i supposed to make changes somewhere else?
Thanks
Hi Amin,
If you directly add your CSS rules into your main style.css file in your X theme (/wp-content/themes/x/style.css), it will be override whenever you update your X theme.
Instead, you can setup a child theme and activate it by following our guide here (https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57) and add your CSS rules into your child theme’s style.css file (/wp-content/themes/x-child/style.css).
If you’re already using a child theme and you’re experiencing this issue, try using the !important keyword and see if your CSS rules are taking effect.
Example:
.h-custom-headline {
color: red !important;
}
Or you can target your CSS rules specifically.
Example:
.page-id-422 #x-section-2 .h-custom-headline {
color: red;
}
Hope that helps.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.