Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Modifying vertical align on images (http://forum.bytesforall.com/showthread.php?t=1486)

NoirMat Apr 30, 2009 03:19 AM

Modifying vertical align on images
 
Hi all,
NEw Atahualpa user here and very pleased with it!
Still one thing annoys me a bit.
I'm trying to get my wrapping text to be aligned so that the top of the text is aligned with the top of the caption… no matter where I define
Code:

vertical-align: text-top;
, the text stays with the baseline aligned to the top of the caption…
I already tried with the theme options, but am getting nowhere.

Here's the example:
http://www.noirmat.com/forums/img34.jpg

Obviously I am doing something wrong here… your help will be appreciated.

Cheers,
Spike

Flynn Apr 30, 2009 02:12 PM

Try a CSS Insert

.post img.alignleft,
.post img.alignright {
margin-top: 3px;
}

NoirMat Apr 30, 2009 11:08 PM

Hi Flynn,

thanks for the input… sadly it doesn't work… Both the pic w/ caption and the text moves down.
I also tried creating a class
Code:

p.margin {margin: 2cm 4cm 3cm 4cm}
and assigning it to the first paragraph with <P class="margin">but still no luck… the paragraph doesn't move at all.
:confused:

Flynn May 4, 2009 09:37 PM

I overlooked that you have a caption, put it on .wp-caption or .alignleft

div.alignleft {
margin-top: 3px;
}

or

div.wp-caption {
margin-top: 3px !important;
}


All times are GMT -6. The time now is 06:34 AM.

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