By smlgc on
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
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
What theme are you using?
What theme are you using? Can you post a link to your site?
i'm using chameleon but it's
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.
Are you talking about the
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
hey thanks. i found the file
hey thanks. i found the file system.css and made changes!
btw- what's !imortant exceptions and how do you use it?
You wouldn't actually have
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:
If you have two style sheets, and one is taking precedence over the other, you can also use !important:
In 1.css (lower precedence):
In 2.css (higher precedence)
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
i got it now. thanks a lot!
i got it now. thanks a lot!
great tip
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.