Tagged: CSS, not working, stylesheet
-
AuthorPosts
-
October 15, 2021 at 11:17 pm #1325182
Hi guys,
Disabled CSS and Javascript merging and compression, Changed Child Theme Stylesheet (style.css) and cleared the site’s cache (Kinsta), cleared browser’s (both Safari and Chrome) tried Incognito mode. And even the support at Kinsta cannot see the changes made to the CSS.
It’s as if it stopped working altogether and showing old code.
It looks like cache but I do not see anything cached. Kinsta support says there is a problem with the code.
This works on staging but not on the live site. When you look at the code on the url itself you can see that the H2 is not Muli but Open Sans Condensed and it’s not recognizing the stylesheet. Same goes for the hyperlink decoration on the post (link I shared)
Added findings: On the Live Site, every single CSS is calling line 1. And different files
This is a screenshot on Staging=- calling style.css:31 and enfold_child.css:99
And this is on the Live site: calling enfold_child.css:1 and enfold_child.css:1:124049 << ADDING: /wp-content/uploads/dynamic_avia/enfold_child.css why is it pointing to the Uploads folder? And why does this file not get properly updated and has old CSS?
Why is it calling the wrong line?
Thank you!!
Havi
This is my stylesheet.css
/*underline links body*/
.entry-content p a {
color: #1e4766 !important;
border-bottom: 3px dotted #ea526f !important;
}
.entry-content p a:hover {
color: #6a6797 !important;
text-decoration: none !important;
border-bottom: 3px dotted #163248 !important;
}
/* H3 style*/
#top #wrap_all .main_color h3, #top #wrap_all .alternate_color h3 {
line-height: 1.1em !important;
font-family: ‘Muli’, ‘HelveticaNeue’, ‘Helvetica Neue’, ‘Helvetica-Neue’, Helvetica, sans-serif !important;
font-weight: light !important;
text-transform: uppercase !important;
}
/* H2 style*/
#top #wrap_all .main_color h2, #top #wrap_all .alternate_color h2 {
color: #514e78 !important;
line-height: 1.1em !important;
font-family: ‘Muli’, ‘HelveticaNeue’, ‘Helvetica Neue’, ‘Helvetica-Neue’, Helvetica, sans-serif !important;
font-weight: normal !important;
text-transform: none !important;
}- This topic was modified 3 years, 2 months ago by havi. Reason: More info found
October 16, 2021 at 6:14 am #1325220Hey havi,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardOctober 16, 2021 at 5:48 pm #1325245Hi Rikard,
I found the problem. You won’t believe what it was. My client’s sysadmin (they maintain a pretty large IT center) changed the DNS settings for this subdomain on Cloudflare to Proxied. That’s why the cache was not clearing up. When I asked for a screenshot of the DNS records, the Proxied status was there on the screenshot and he kept saying that nothing was being cached on his end.
Sometimes I don’t know how some people keep their jobs. He removed the Proxy caching at midnight (my time) last night and I just got up and wanted to let you know.
Feel free to close this ticket. Nothing was wrong on this end. Heads up to others, if it looks like something has been cached, and the same code works on an uncached environment, you cleared the server’s cache, the browser’s cache and even gone incognito, don’t let host support people tell you otherwise. It’s cached somewhere.
Thank you so much!
Havi
October 17, 2021 at 8:03 am #1325295 -
AuthorPosts
- The topic ‘Child Theme Stylesheet not Picking up’ is closed to new replies.