WordPress.org

Forums

[Theme: Trending] Can't edit/work with compressed stylesheet (css) (3 posts)

  1. pixelpressing
    Member
    Posted 1 year ago #

    There are two stylesheets for that theme:
    style.dev.css (30kB) uncompressed ( „dev” means it’s for development)
    style.css (23kB) compressed

    Doesn’t matter which file I change in many variations and upload through FTP it doesn’t work! That means layout takes no changes. Edited css, uploaded to the server but no change is taken.

    Tried out many ways –
    1) edited „style.dev.css”, loaded it to the server (don’t work), then renamed to „style.css” (still don’t work)
    2) after editing „style.dev.css” compressed it and then loaded to the server (don’t work), then renamed to „style.css” (still don’t work)
    3) when both are on server, server chooses the dev version „style.dev.css”, when I delete it, server jumps to „style.css”
    4) tried to edit one of them and then send to server (there is still no chage in layout)

    Please someone give me a hint where the problem could be ?
    I have no Idea where the problem could be, searched for a solution like for 2 days already.
    my site on which I'm working: http://cfs-gometzlaville.fr/cfs/

  2. Andrew
    Nuh uh moderator
    Posted 1 year ago #

    Doesn’t matter which file I change in many variations and upload through FTP it doesn’t work!

    Stepping back a bit, if you weren't aware; modifications made to the theme's files will be erased when the theme updates. Why not use a Child Theme or Custom CSS plugin to get around this? It's also easier to manage your CSS modifications that way.

    Install this Custom CSS Manager plugin http://wordpress.org/plugins/custom-css-manager-plugin

    Then use its "CSS Code" section of the dashboard to hold your CSS modifications.

    See if that works.

  3. pixelpressing
    Member
    Posted 1 year ago #

    I have already been using My Custom CSS plugin. And it works.
    I just wanted to understand why I can't edit those 2 css files no matter in which way I try.
    And working with Custom CSS plugin I feel somehow insecure 'cause it's only a plugin. As soon as it works it's ok.

    modifications made to the theme's files will be erased when the theme updates.

    You wrote it like theme decides itself if it wants to update.
    I hope that's not the case 'cause we can always chose ourselves to update or not (for not braking the structure, functions or design).
    Though, thanks for suggestion, but still my question is opened.

Topic Closed

This topic has been closed to new replies.

About this Topic