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)
-   -   How to close space? (http://forum.bytesforall.com/showthread.php?t=10256)

joe hark Oct 12, 2010 01:03 PM

How to close space?
 
1 Attachment(s)
Please see the attached screen shot of posts on home page. I'd lik to close up some of the white space between posts as shown by the red arrows.

Suggestions, please?

Image NOW attached

lmilesw Oct 12, 2010 01:04 PM

I see no screen shot.

juggledad Oct 12, 2010 02:18 PM

One way I figure out things like this is to add some css to create a border around the areas in the page. If you look at the code, you will find the posts are surrounded by a <div...> with a class of 'post'.

If you added
HTML Code:

.post {border: solid 1px red;}
it would draw a 1 pixel red box around the post. if the boxes had lots of space at the bottom, you would know it had to do with something in the post. If the space was between the boxes, then you would know that it is probably padding on the post bottom or top.

Using this methodology, you should be able to narrow down where the space is coming from.

Hint: If you copy the generated source, save it in a text file called 'somename.html' you can open it in the browser and change the code, do a refresh and see the result right away. I tend to do this and rip things out till I find out what is causing the issue.

joe hark Oct 13, 2010 12:31 AM

thanks for the help. Much appreciated.

May I have one more but if info? You say, "If you look at the code,."

In which file do I find that?

juggledad Oct 13, 2010 01:08 AM

By 'look at the code' I am refering to the HTML code that makes up your page being displayed. Each browser has an option to look at the source of the page (the code)


All times are GMT -6. The time now is 07:26 PM.

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