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 » Excerpts, Read more, Pagination »

Excerpts do not align well in IE


  #1  
Old May 24, 2010, 02:07 PM
JFG
 
44 posts · Jul 2009
Canada
Hi,

I'm using Atahualpa 3.4.6 on WP 2.9.2

When using thumbnails and excerpts, the text does not align well (horizontally) with the image in IE. There is an empty space above the text that I cannot get rid of. It looks fine in other browsers.

After playing with all padding and margin settings, my only guess as to what may be causing this is the <p> tag that Atahualpa places in front of the text excerpts. Could this be causing the space in IE?

To see example, you can see : www.mangersantebio.org
Look at the bottom left of the page for the post excerpts in IE and you'll see what I'm talking about. The same problem occurs with 3.4.9 on another site.

Thanks for any tip. Doesn't anyone else have their IE excerpts show up this way?

JF
  #2  
Old May 24, 2010, 09:01 PM
JFG
 
44 posts · Jul 2009
Canada
Well, I found what was causing this:

In the css.php there is this:

Code:
div.post-bodycopy p {
	margin: 1em 0;
	padding: 0;
	display: block;
	/* The rule below would create hor. scrollbars in Firefox, 
	which would be better than overflowing long strings, but the
	downside is that text won't float around images anymore. 
	Uncomment this if you don't float images anyway */
	/* overflow: auto; */
	}
by simply removing the vertical margin value the excerpt text in IE now aligns with the thumbnail image while it remains well aligned in other browsers as well. Hope this helps someone.

Last edited by JFG; May 24, 2010 at 09:07 PM.
  #3  
Old May 25, 2010, 08:58 AM
JFG
 
44 posts · Jul 2009
Canada
Actually, doing what I described in the last post also changes the value of all P tags in the posts and pages... so it would actually be better to leave the vertical margin value as is and remove the P tag altogether when an excerpt is being displayed....

Anyone knows where I can remove the P tag that appears before each excerpt?

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to align justify text in excerpts? JFG Excerpts, Read more, Pagination 1 Apr 13, 2010 06:55 PM
[SOLVED] How to right align the menu izzysanime Header configuration & styling 2 Jan 29, 2010 08:54 AM
Control spacing in menu bar: left-align some; right align others; blank space between sarah97302 Page & Category Menu Bars 1 Nov 16, 2009 01:47 PM
Menu align to right pixelmac Page & Category Menu Bars 0 May 24, 2009 03:21 AM
Align widgets horizontal evripidis Sidebars & Widgets 5 Apr 28, 2009 01:10 PM


All times are GMT -6. The time now is 04:30 PM.


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