• hello, strange things, first time i have this problem.
    i am updating the style.css stylesheet located under /themes/envision/lib/css/style.css
    i cleared the cache many times, i disabled the cash plugin, same issue: i cannot see the change i made on my css.

    on the other hand i noticed something weird : on google chrome, when i do F12 and i mouse over on my css he is telling me a strange path of my css: instead of /themes/envision/lib/css he show me /themes/envision/lib/css/lib/css/style.css

    what is wrong? is it after updating wordpress recently?

Viewing 6 replies - 1 through 6 (of 6 total)
  • What’s your site address?

    And by the way, you really shouldn’t be editing the theme’s CSS directly. For if you ever update the theme (which you should, always), you’ll lose ALL your changes.

    This is why the “ADDITIONAL CSS” in APPEARANCE => CUSTOMIZE was created so we can easily add custom CSS to any theme and not risk losing our changes when we update the theme.

    Thread Starter wissam6

    (@wissam6)

    thanks for the reply
    my website : https://www.smssacrement.org/

    Thread Starter wissam6

    (@wissam6)

    but i am note adding css, i am modifying an element that exist

    but i am note adding css, i am modifying an element that exist

    You add new CSS code in the ADDITIONAL CSS box to override existing CSS code defined in the theme (or plugin or WordPress itself). That’s what the “C” (cascading) in CSS is all about. So we’re talking about the same thing here.

    Also, the CSS file you’re trying to edit is actually the BOOTSTRAP framework’s CSS code. You REALLY REALLY shouldn’t be editing that.

    But the real reason your change isn’t reflecting is that the theme loads the minified versions of the stylesheets (an optimized version with much smaller file size, named with a .min.css ending), and not the one you’re editing. And that’s why your edits aren’t taking effect.

    That’s yet another good reason to always add your CSS overrides in the ADDITIONAL CSS box ??

    If you can direct me to what you’re trying to customize on the page, I can help you with the appropriate CSS selectors to use in the ADDITIONAL CSS box to override the styles defined in the theme.

    Thread Starter wissam6

    (@wissam6)

    thanks for your help, it is helpful

    i would like to sent you image, can i attach images to my text in this forum?

    The forum doesn’t support attachments.

    But you can upload screenshots to public places like https://snipboard.io/ and embed or share the link here.

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