Centering featured image?
Hi,
I was wondering if anyone could lend some help with centering the featured image, since I changed to a smaller image size. I've managed to set up the theme to liking except for this bit. Any help would be appreciated. |
Install the FireBug extension in FireFox
Look at your site with FireBug enabled. Examine the <img... statement and look at the CSS test adding some CSS rules to center the image Once you have the CSS Rule(s) you can add and appropriate CSS Selectr and the rule to 'post.css' theme option file. |
Thanks.....I think I found the rule, but not entirely sure what to add to it (align:center)?
HTML Code:
img { |
U just have to insert few lines in:
a img { left-align:auto; right-align:auto; } :) it works for me , hope for U also;) |
there is no 'align' selector!
|
Try text-align:center; for the surrounding div and display:inline; for the image.
|
Ya it :)also works!
|
Your solution is more proper. Mine is more backward compatible.
|
All times are GMT -6. The time now is 01:59 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.