• Resolved Shade Syndrom

    (@shade-syndrom)


    Good afternoon !

    I have a problem when i want to change background, i did some change inside the style.css sheet, but nothing happened in style.min.css, and nothing change on my blog too.

    I would like to know how i can erase the style.min.css please ? I think i crossed something somewhere, about reducing weight of my website, but impossible to find it again !

    If somebody could help, it will be wunderful.
    Thanks for reading !
    Shade

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hi Shade,

    Thanks for using Author!

    The style.min.css file is meant only for being loaded on the site, and not for human editing. The best way to add CSS to Author is through the Custom CSS section in the Customizer. Any CSS you add there will be automatically added to the site for you, and will be kept safely when you update to newer versions of Author.

    If you’re worried you’ve made an edit to style.min.css that you want to undo, you can download a new copy of Author from it’s page here on the repo, and then upload a fresh copy of the style.min.css file to your server.

    Thread Starter Shade Syndrom

    (@shade-syndrom)

    Hi Ben,

    Thank you for your quick and clear answer !
    I’ll try to use the Custom CSS section, but what am i suppose to write ?

    I mean, i would like to change background of the website, but sometimes thre’re different background (one for the header, one for the body etc), so i how should i write it please ?

    Theme Author Ben Sibley

    (@bensibley)

    Yea no problem 🙂

    Here’s the absolute easiest way:

    While viewing your site, right-click an element you want to modify and choose the Inspect Element option. Every browser has their own developer tools for this, but I personally prefer Chrome’s.

    This will give you a way to find the element you want to change, and locate the existing CSS that is affecting it. Once you find the CSS that is already being used, you can copy it into the Custom CSS section. Then all you need to do is change the value.

    Here’s a quick video demonstrating how that works: http://pics.competethemes.com/0W1n470V3E2z

    Alternatively, you could search through the style.css for the code currently being used, and copy it into the Custom CSS section

    Thread Starter Shade Syndrom

    (@shade-syndrom)

    Thank you !

    I had to ask a friend, because at the beginning it didn’t work, but with this it’s finaly okay :
    #main { background: url(/wp-admin/images/bg.jpeg) fixed center no-repeat; background-size: cover; }

    Theme Author Ben Sibley

    (@bensibley)

    No problem!

    Thanks for sharing the snippet, let me know if anything else comes up.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘style.css to style.min.css’ is closed to new replies.