does anybody know how i can change the bkground color [#ccc,#ddd] of gray tabs and the 1px gray borders (like in admin cp/edit/ view) for drupal 5.8. apparently its not a theme color.

thanks

Comments

notarealperson’s picture

What theme are you using? Can you post a link to your site?

smlgc’s picture

i'm using chameleon but it's the same in all themes that come with 5.8 i checked. my site is not online yet.

prestonso’s picture

Are you talking about the ul.primary links that display above each area of content? All of the styles defining the borders and background colors are located in system.css. You can override them in your style.css by using !important exceptions.

___________________

Preston So

smlgc’s picture

hey thanks. i found the file system.css and made changes!

btw- what's !imortant exceptions and how do you use it?

prestonso’s picture

You wouldn't actually have to use !important exceptions for this instance, because style.css automatically takes precedence over system.css. There's two instances where !important would be really helpful.

If you were to have an element appearing twice in an extra-long style sheet, you could use !important to make it so the browser uses the rule with !important rather than the other:

ul.list {
margin-top: 25px !important;
}
...
ul.list {
margin-top: 5px;
}

If you have two style sheets, and one is taking precedence over the other, you can also use !important:

In 1.css (lower precedence):

ul.list {
margin-top: 25px !important;
}

In 2.css (higher precedence)

ul.list {
margin-top: 5px;
}

In both cases, the ul.list is going to have a 25px margin rather than a 5px margin due to the presence of the !important exceptions. Hope this helped!
___________________

Preston So
Web/Print Designer
Monarch Digital, Colorado Springs
My non-updated non-Drupal site

___________________

Preston So

smlgc’s picture

i got it now. thanks a lot!

socialnicheguru’s picture

This is really helpful!

--
activelyOUT.com- Creating an activelyOUT community of LGBT professionals and allies

http://SocialNicheGuru.com
Delivering inSITE(TM), we empower you to deliver the right product and the right message to the right NICHE at the right time across all product, marketing, and sales channels.