Hi,
I’m searching for a way to reduce the space between the various elements on my homepage: http://www.gc-vitae.nl/homepage/
For example the space between the slider and the two text blocks, and the space between the text blocks and the color section, and so on… I’ve tried various CSS codes but nothin worked (though it did in Firebug).
Thanks,
Ying-Fu
Hi yingfuli!
You can adjust the content div padding using this:
.content, .sidebar {
padding-top: 10px;
padding-bottom: 10px;
}
Regards,
Ismael
Hi Ismael,
That doesn’t work alas. At least not on the homepage.
Hi!
Please add following code to Quick CSS as well
body .column-top-margin {
margin-top: 10px;
}
And the code Ismael posted is not being applied. Please try adding it to bottom of Style.css file of your child theme in Appearance > Editor
Regards,
Yigit
Hi Yigit,
Tried what you said but the homepage won’t change one bit.
Hi!
Please try adding !important to force css codes
.content, .sidebar {
padding-top: 10px!important;
padding-bottom: 10px!important;
}
body .column-top-margin {
margin-top: 10px!important;
}
then flush browser cache and settings of caching plugin if you are using any and refresh your page a few times
Cheers!
Yigit
Hey!
Sure, you can post it here privately. Make sure to check ” Set as private reply (Only you and moderators will see the content of this post)” above Submit button
Best regards,
Yigit
Hey!
I tried it on Quick CSS but it is not working. Do you have access to the custom.css? Please add Yigit’s and my code there:
.content, .sidebar {
padding-top: 10px!important;
padding-bottom: 10px!important;
}
body .column-top-margin {
margin-top: 10px!important;
}
Edited: I added the changes directly on header.php and it seems to work now: http://www.gc-vitae.nl/
Best regards,
Ismael
You guys rock!
Thanks!