Padding not showing on paragraph tags
I'm new to Atahualpa and hope this question isn't too basic.
I've added some custom styles to CSS Inserts to create extra padding for some <p> tags, but it doesn't seem to show and I'm not sure why. The custom padding attributes work on other tags such as <h1>, <h3> and <ol>, but not for <p> for some reason. My website is http://mycarpaltunnelpregnancy.com/ For testing purposes, I've added the following custom style for the line "Dear Mum To Be,": Code:
.bodypadding { I'm running Atahualpa 3.4.6 and Wordpress 2.9.2. Can someone advise on what the problem is? |
add !important to it so you have
HTML Code:
.bodypadding { |
Thanks heaps juggledad. It's working now.
Do you have any guidelines on when "!important" needs to be added to the style definitions? |
'!important' says 'use me even if another selector is more specific. Do a google search with 'css !important' and you can read the explainations in detail
here is one http://www.w3.org/TR/CSS2/cascade.html#important-rules |
All times are GMT -6. The time now is 03:17 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.