2011-06-19, 23:31:36
designthing Wrote:I'm having a problem styling a component called telephone. I have this code in the header:
<div id="header">
<div id="telephone"><?php get_component('telephone'); ?></div>
---and the css style is:
#telephone h3 {
...}
The component is: <h3>Call us Today on: 0845 123 4567</h3>
But its not affecting the H3 and i don't know why.
You have probably another more specific rule that overrides this rule. Use Firefox and the Firebug plugin or Chrome (press Ctrl-Shift-I) to find out which CSS rule(s) take precedence.