Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Padding not showing on paragraph tags


  #1  
Old Feb 26, 2010, 01:40 PM
acdesigns
 
4 posts · Feb 2010
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 {
	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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
add !important to it so you have
HTML Code:
.bodypadding {
	padding-bottom: 2.0em !important;
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
'!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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



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 05:08 PM.


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