In the layout options I have the site width set to 1200px and I would like to have 4 columns, and that would come out to setting the columns under (front page in the layout section) to 300px and it looks great, except that the 4 - 125x125 ads go vertical under that setting.
Where in style.css do I change the column padding/margins, etc. so that the space between the columns are a bit smaller so that the 125px ads aren't vertical and display as they should with 2 on top and two on bottom?
Thanks for the code, but that doesn't solve the padding between the columns. Where/what do I need to do in Custom CSS to have less padding between the columns displayed on the front page?
Sorry. I misunderstood. I thought you were referring to the margins on the ads.
That is a two step process. First you need to modify the padding and margin by setting a Custom CSS style for the following selector:
.home #maincontent .post { margin: 5px 10px; padding: 5px 10px; } |
406 | .home #maincontent .post { width: <?php echo theme_option('columns')-40; ?>px; } |
Thank you! As soon as I get back from running a quick errand, I will be doing this.
Thanks again! Exactly what I was meaning by the columns and the whitespace between them! :))
Couldn't I put line 406 with the -40, (with my setting of course), into Custom CSS or is it just not possible and I have to change the line in functions.php and it would override the setting in functions.php in Custom CSS? I can hardcode it, just wondering really...
That's good news, although when I changed the value of -40 to -20 it totally messed up the front page I also changed the values of the css line with this : margin: 5px 10px; padding: 5px 10px; - to have them both at 5px. So it's back to square one on this one...
Not sure what to do to minimize the whitespace between the columns on the front page.
I am interested in reducing the spade between columns. Have you gotten further on this?
Just like the previous poster, these instructions did not work for me. any other ideas?
Take a look around, and if you would like to add a comment or start a discussion, register by clicking on the button below.
RegisterCopyright © 2012 bavotasan.com. All Rights Reserved. Powered by Vanilla.