Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Padding not showing on paragraph tags


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Feb 26, 2010, 01:40 PM
acdesigns
 
4 posts · Feb 2010
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 {
	padding-bottom: 2.0em;
}

<p class="bodypadding">Dear Mum To Be,</p>
And no matter what value I change the padding to, nothing changes on the page.

I'm running Atahualpa 3.4.6 and Wordpress 2.9.2.

Can someone advise on what the problem is?
  #2  
Old Feb 26, 2010, 02:59 PM
juggledad's Avatar
juggledad
 
22,104 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
add !important to it so you have
HTML Code:
.bodypadding {
	padding-bottom: 2.0em !important;
}
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Feb 26, 2010, 05:34 PM
acdesigns
 
4 posts · Feb 2010
Thanks heaps juggledad. It's working now.

Do you have any guidelines on when "!important" needs to be added to the style definitions?
  #4  
Old Feb 27, 2010, 06:30 AM
juggledad's Avatar
juggledad
 
22,104 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
'!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
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra line breaks and paragraph breaks in posts paulae New Versions, & Updating 2 Jan 27, 2010 03:20 PM
Problem with text formatting in posts - no paragraph returns. ecommercereport Atahualpa 3 Wordpress theme 1 Sep 28, 2009 03:40 AM
Rounded Tabs Theme: Remove column, color paragraph headings tarragon Other BFA WordPress Themes 0 Sep 10, 2009 08:08 AM
H1 and H2 tags dogwoad Header configuration & styling 2 Jun 12, 2009 12:21 PM
[SOLVED] Paragraph styling timdevogel Excerpts, Read more, Pagination 1 May 7, 2009 01:35 AM


All times are GMT -6. The time now is 10:54 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.