• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Extra.css not applying

mmoore5553

Well-known member
#1
I have no issues with 1.1 but newest version this not getting applied as i put the new css in there but never takes affect. I have to go back in and modify it on the built in css.
 

Mike

XenForo developer
Staff member
#2
I suspect this is a specificity thing rather than a bug. What are you trying to apply?
 

mmoore5553

Well-known member
#3
Well to be honest it was not just this one as some others i had to modify directly too. Here is one example


Code:
.discussionListItem {
    background-color: #FCFCFF;
    border-bottom: 1px solid #B0C4DE;
}
As i just made the line darker to add more separation between threads.

I am not worthy to have you visit my thread. (y)
 

Brogan

XenForo moderator
Staff member
#4
Try adding !important to each line.

However, you should be able to do that in Style Properties anyway.
 

mmoore5553

Well-known member
#5
Oh i am old school as i just do it via css and in one spot so i can just save it later when upgrade time or when i do mass changes. I will test and report back.

Do you sleep at all Brogan ?

No it did not work with !important.
 

Mike

XenForo developer
Staff member
#8
Code:
 background-color: #FCFCFF; !important
border-bottom: 1px solid #B0C4DE !important;
Semi-colon in the wrong place. :)
 

Brogan

XenForo moderator
Staff member
#12
I tested this on my local and it worked fine.

Code:
.discussionListItem {
    background-color: orange !important;
    border-bottom: 1px solid green !important;
}