Styling Components - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Styling Components (/showthread.php?tid=1864) |
Styling Components - designthing - 2011-06-19 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 { font-family: impact; font-size: 20px; color: #FFF; float: right; margin: 20px 20px; } The component is: <h3>Call us Today on: 0845 123 4567</h3> But its not affecting the H3 and i don't know why. All other css styles are fine and only one css file, testing on Cardinal Theme. Can someone help thanks! Styling Components - mvlcek - 2011-06-19 designthing Wrote:I'm having a problem styling a component called telephone. I have this code in the header: 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. Styling Components - designthing - 2011-06-20 Hi Mvicek. I am using Firefox and Firebug and Wamp. Switched on the pc and checked again today and the style IS taking effect. So i'm not sure why now and not earlier. Maybe something to do with Wamp and browser caching, but i'm no expert here. Thanks for advice. |