Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I want to close the gap between the image and the excerpt text on the following page:

http://delreia.com/mikes-blog-2/

Kindly advise how to acheive this.

Thanks in advance.

Sunil

share|improve this question
Change the inline style wrapping the div that holds the_post_thumbnail to something less than 200px in the template. – Chris_O May 14 '11 at 4:47
3  
This is a CSS question - not WordPress. Flagged for closure. – anu May 14 '11 at 7:13
I would point out that although is a CSS question it is apparent this user has very little idea what he is doing. He may need actual WP help as well. For example how he can edit the stylesheet from within the WP admin. – mrtsherman May 14 '11 at 15:01

migrated from wordpress.stackexchange.com May 15 '11 at 18:14

1 Answer

The div your image sits in is set to 200px wide. Try 150 instead. You may want to edit your loop and add in a class on that div so that you can modify it easily from the stylesheet. Right now it is hardcoded which is a bad way of doing it.

The following would be a terrible way to do it, but will work if you have no idea what you are doing. Add the following to your style.css. It says all grandchild divs of div.entry should be 150px;

div.entry * div { width: 150px; }
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.