CSS mystery…
-
Hi all, I need a hand with something that’s bugging me.
I’m working on a theme with a bunch of cool (imho) features, including widgetized front page/footer, and a fully-commented custom.css file with several color/border properties that can be customized.
The problem I’ve run into is that I can’t, for the life of me, get the background colors of certain divs (#container, #content) to change through custom.css, nor can I modify the border-radius of custom divs that I’ve defined in style.css. Other properties can be changed in custom.css no problem; like .widget or .widget h3.widgettitle. I’ve got the call for custom.css in the theme header just after the call to the theme stylesheet, like so
`<link rel="stylesheet" type="text/css" href="/custom.css” />`I thought maybe properties could only be defined twice so, as an experiment, I commented out the ruleset for div#container in bp-default/_inc/css/default, so it was only defined in the theme’s style.css. But, that didn’t change anything: I still can’t modify that property in custom.css
Can anyone clue me in on a possible why some properties can be changed in custom.css while others cannot?
- The topic ‘CSS mystery…’ is closed to new replies.