Jump to content

Archived

This topic is now archived and is closed to further replies.

jonelder135

header size and padding adjustments

Recommended Posts

jonelder135

Hello, in my header section of my site I have a media box with a photograph in it and underneath it a navbar full with. Though I have removed the padding from the media box itself I still have a considerable distance remaining between the nav bar (which sits beneath the image) and the image itself. After looking  I found this div  that I suspect as the culprit

 

<div class="mediabox-wrap pl-centerer no-anim pl-animation fix animation-loaded"

 

But I see no way to reduce the padding with it. 

while looking in the back and at the controls for the media box itself, I find mention of a cover mode but have no idea how to change this setting. I'm wondering if this Could have anything to do with it?

Any help with this would be appreciated.

 

Site: thevillagerny.com/wp/

 

 

Share this post


Link to post
Share on other sites
jonelder135

Hey Batman, you have  found an older post from a few days ago. The space I was concerned with in that post was solved by you. Thank you. There is more wasted space I wish to remove beyond the 20 px I gained in the post you have referenced. Have a look and see for yourself. The bottom of the image is still at least 30px from the top of the menu that sits below it.

Share this post


Link to post
Share on other sites
Danny

Hi,

 

If you want to remove the margin from that image, use the following code:

 

#mediaboxuvjvt3z .the-media {
margin-bottom: 0;
}
 
The result will look like this - https://cloudup.com/c0iBL9CoEXT

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jonelder135

Once again Danny "You Are The Man". That is exactly what I am after. Thank you so much for your aid with this.

Share this post


Link to post
Share on other sites
Danny

No problem. 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×