Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Styling Components
#2
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.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Styling Components - by designthing - 2011-06-19, 22:22:18
Styling Components - by mvlcek - 2011-06-19, 23:31:36
Styling Components - by designthing - 2011-06-20, 02:54:19



Users browsing this thread: 2 Guest(s)