But only to the first set of classes that is above the <ul>. As you can see I have these classes inside the <ul> aswell but I dont want this css to be applied to them.
You could always create a new class and add that class to whichever tags you want it to apply.
.static {
position:static !important;
}
Sorry, ReGGae, I’m stuttering because you say that you want those classes applied to specific upper level tags only, yet those classes are already applied down the line. How do you plan to prevent them from being applied where they exist?
You are probably on the right track with the first child selector “>”, but I still don’t really understand the picture.
EDIT:
.row is applied to the divs. You could target the second level div only (above the <ul>) like this:
.heaer-bottom > .row {…}
.columns is applied to a div above the <ul> and to more <ul>s, so you could target the div easily enough like this:
div.columns {…}
.large-8 is only applied to the div above the first <ul> so you could target it like this:
.large-8 {…}