• Very new to WordPress development so I hope this is something simple I’m just ignorant about. Since I’m still in development the pages below will only remain as I describe them for a short time. Hopefully I’ll receive some thoughts fairly quickly so I can proceed with development.

    While developing my custom css for a temporary URL site at Siteground, I briefly changed background colors on a couple divs so I could more easily identify them during css development.

    I set background color of the OceanWP’s div tag with id=”content” to background: yellow. I also set the background color of a div with class=”pagedisplay” in my custom html to background: red. Now even though my custom css file is completely empty, those divs still show the colors they were set to earlier.

    Example 1:
    http://kellyg4.sg-host.com/index.php/102-2/

    This page is now empty of my custom html and includes only a small div that holds the text content for illustration purposes. As you can see the OceanWP content div is retaining the yellow background despite the fact my custom css file is now completely empty.

    Also see this second page where I’ve pasted my original custom html in:
    http://kellyg4.sg-host.com/index.php/99-2/

    Not only do the original two divs retain their earlier background color settings of yellow and red in this new page. This second page is also utilizing most of the complete custom css I had originally used in the site before clearing my custom css file.

    This is totally bizarre since as I’m emphasizing my site’s custom css is currently completely empty. Where are all these style settings coming from and why is the theme not clearing them when I clear them in the custom css for the theme?

    I have been using the Simple Custom CSS plugin as my css editor.

    I hope someone can point me in the right direction! Thanks! 🙂

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello,

    Try to add the css code using the child theme or Customize > Custom CSS section. Have you cleared the cache after adding the code?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom CSS Seems To Be Caching Oddly’ is closed to new replies.