Tagged: child theme, CSS, staging
Hi there! I’ve got a weird issue going on. When editing the CSS on my staging site, it doesn’t update on refresh. When I edit on the live site, it does. I have CSS compression disabled on both. Any thoughts?
Hey BlackThundarr,
Where can we see and reproduce the problem you are having?
Best regards,
Rikard
Hi,
The widget title on your staging site is taking its colour from this CSS:
h3 {
font-size: 1.5em;
line-height: 1.1em;
margin-bottom: 8px;
font-weight: 300 !important;
color: #5C9EA6 !important;
text-transform: none;
line-height: 1.15em;
padding-top: 10px;
}
It’s added in the file in private. If you use !important, then that will override regular CSS declarations.
Best regards,
Rikard
I’ve been testing using !important, making the exact same small changes on both staging and live and they aren’t taking effect on staging, no matter what. it’s like the stylesheet just isn’t updating. The .widgettitle rule on Live, for example, works as expected.
I’m thinking it’s a weird serverside issue, so I’m gonna contact my host. Thank you for taking a look, though!