• Hey y’all.

    I’ve tried changing my style.css from both the WordPress editor and my cpanel, but the stylesheet in the page source refuses to update (even though the address is correct). My hosting is with Namecheap if that means anything.

    Would post my URL, but the content is pretty explicit.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Are you using any caching plugins on your site? If so you may need to clear/empty the cache through the Dashboard.

    Also you can try to do a hard refresh in your browser.

    Windows: Ctrl + F5
    Mac/Apple: Shift + Apple + R or Shift + Command + R

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You’re allowed to post URLs to content that is not safe for work, as long as you let people know that.

    Thread Starter bloopbleep

    (@bloopbleep)

    I’m using W3TC. I’ve tried clearing its cache and my browser cache.

    Site is https://femdomcaps.com (it’s very nsfw). The theme is very outdated and has this weird image styling (images have a white border and for some reason alt tags are shown on top of images)

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you clear the W3TC cache again, then deactivate all of your plugins.

    Then add this style:

    body {
        border: 10px solid red !important;
    }

    Does the issue persist?

    Thread Starter bloopbleep

    (@bloopbleep)

    Here’s the result of that – https://i.imgur.com/mCpHNL2.jpg (NSFW)

    Issue is moreso the stylesheet not updating, not the image border (although it’d be fantastic to have either fixed)

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If the border worked then your issue is not that your stylesheet is not updating. Can you re-explain your issue?

    Thread Starter bloopbleep

    (@bloopbleep)

    OH. Well to do what you said, I had to leave on my custom CSS plugin (all other plugins switched off). Otherwise, it wouldn’t have worked.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Doh forgot about the deactivating plugins part. Did you find out the plugin that caused the issue?

    Thread Starter bloopbleep

    (@bloopbleep)

    Tried deactivating all plugins and then making an edit, no dice still.

    Thread Starter bloopbleep

    (@bloopbleep)

    Just for extra clarification, here’s how the stylesheet looks in the page source (I’m trying to clear the image styling): https://i.imgur.com/vdhXwod.png

    and here’s how the editor looks: https://i.imgur.com/3Dulwcn.png.

    Even when I edit the style.css file in cpanel at the same address as in the page source, no changes are made ??

    Thread Starter bloopbleep

    (@bloopbleep)

    For extra extra clarification, I can make changes to the CSS via a CSS editor plugin, but I cannot through actually editing the style.css. This is a pain since it means I cannot delete any styling.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Hi Bloopbleep, you’re not meant to edit the theme’s stylesheet so it worth exploring this?

    Thread Starter bloopbleep

    (@bloopbleep)

    Wait, really? How do most people go about removing styling?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    They use a Custom CSS plugin or set up a Child Theme and override the theme’s styles (instead of editing the theme’s styles).

    For example,
    A theme has this style:

    body {
        background: pink;
    }

    To override it, you just declare the same style but in your Custom CSS plugin or Child Them style.css file:

    body {
        background: red;
    }

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘CSS Stylesheet not updating’ is closed to new replies.