Move Style.css within

Community Forums Forums Design Tips and Tricks Move Style.css within

This topic is: not resolved

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Jason 1 year, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2035

    Jason
    Participant
    Post count: 2

    I would like to move the reference to the style.css file in my child theme down underneath other .css files (like the genesis-responsive slider plugin .css file, and other plugin .css files), in order to prevent me from putting “!important” after every style change that applies to a plugin.

    Does anyone know how to do this, or am I thinking about this wrongly? Because the Genesis Sliders are used in so many Genesis themes, I thought it would make sense for me to add my own styling to their slider in my custom child theme. Is this frowned upon?

    Thanks!


    #14689

    SoZo
    Moderator
    Post count: 1573

    You shouldn’t need to use !important if your selectors are more specific, e.g. #content #genesis-slider


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #14704

    Jason
    Participant
    Post count: 2

    Duh… thanks for stating the obvious!

    I’ll try that and post a couple examples here when I get something to work. After that, we’ll call this thread resolved…


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.