Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Problem with image spanning center column (http://forum.bytesforall.com/showthread.php?t=12736)

jasontbedell Feb 10, 2011 12:37 PM

[SOLVED] Problem with image spanning center column
 
Hello,

I'm trying to get an 3 images, basically horizontal rows, to span the entire width of the center column.
The center column is 1024 pixels.
I had to add a padding of 60px for text spacing.
The images are also 1024 pixels, but the padding has pushed them to the right.

I tried to manually target it with the code below but I can't seem to get it to work or to override the padding.
img.wp-image-374 {
margin-right: auto !important;;
margin-left: auto !important;;
border-top: 10px solid #333;
}

Would anyone have any ideas? Thank you for the help.
The site: litteacher.com.
WordPress: 3.05
Atahualpa: 3.5.3

jasontbedell Feb 10, 2011 02:08 PM

If it helps anyone else, I was able to get it with this:
Code:

img[title="stripe_news"] {
margin: 5px -60px !important;;
}



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

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