Build Your Own Business Website header image

Thesis Theme 2.0 – Order of CSS Priority

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Whoops, you've found some premium content!

Watch the opening clip of this video to preview it,
the full video is available to paid members.

In this session we talk about the order of CSS priority in Thesis Theme 2 between the Options settings and Additional CSS in packages. We discuss why when settings are completed in options and then additional code for those settings is added in Additional CSS, the code in Additional CSS will take priority.

Video Transcript

Member: Hang on, I just want to look at the other question I had. Oh okay, yeah so I had a question about the order of css priority with Thesis 2. When I was doing some work on this, I noticed… let me just go into the editor. If I just pull up an element… okay so if you’re looking at an element here, a package and you’ve got different font settings here, if I go and set something here, right? And anything I put in additional css, which one of these, if any, has priority?

Rick: Well, priority is established by… if everything else is equal, priority is the last thing written.

Member: Okay.

Rick: So in this case, everything else is equal because this post formatting box is all referring to the same selector. So since it’s the same selector, additional css takes priority over the other because additional css gets written after the other gets written.

0 Comments… add one

Save $200 on Membership Now!

Start learning today for as little as
$0.82 PER DAY!
Subscription Options
0 comments… add one

Leave a Comment