override a global css call
-
We are using a very customized theme, and we need a one-column page template for landing pages.
The template page is created with the correct column widths and margins to work for what we need, but there is a global class called #main that overrides the page template in the content area, and we cannot suppress/override it. It is called in the theme by div id and role (ex. div id=”content” role=”main”)
Any help would be appreciated. We also cannot override it with on-page css. Here’s the code that we are trying to override (specifically the background img)
‘#main {
clear: both;
min-height: 550px;
border-left: 1px solid #dadada;
border-top: 1px solid #dadada;
border-bottom: 1px solid #dadada;
-webkit-border-radius: 3px;
border-radius: 3px;
margin-bottom: 40px;
background: url(‘img/sidebar-bg.png’) repeat-y right top #fff;
}
‘I know that this is the “offending” layer of code because if I remove the background attribute, it clears. Unfortunately, we can only clear it globally!
I’m happy to share the style.css and template.php if needed.
The topic ‘override a global css call’ is closed to new replies.