Site logo

Archived topic

White Space Below header

19 replies · Started by Forum User on December 27, 2019

Viewing posts 1–15 of 20

There seems to be a lot of white space between the primary navigation and my first text paragraph. Please assist me.

Is there a way to make my current header full width on sky desktop? It is already full width on my mobile.

The padding seems to have worked but the header was already set to full.

Is there CSS you can give me similar to below, but for my desktop.

#mobile-header img { width: 100%; height: auto; }
h1.entry-title {
display: none;
}

Try this:

.site-logo, img.header-image {
    width: 100%;
    height: 200px;
}

That worked. Is there a way to adjust the height (make it smaller)?

Is there a way to minimize the whit space between the shortcode for categories below the first paragraph of text?

Thanks for letting me know about the extra space.

Will it help if I make the picture smaller?

Yup make the original image shorter should work.

I made it shorter but nothing changed.

Have you cleared your caching plugin after re-uploading the image?

There isn't anything the theme itself can do.

I cleared the cache but nothing changed.

Please note that I using the following element hook code:

<div class="site-logo hide-on-mobile">
    <a href="https://www.tryhypnosisnow.com/hypnosis-downloads/" title="Hypnosis Downloads NYC" rel="home">
        <img class="header-image" alt="NYC Hypnosis Downloads MP3s" src="https://www.tryhypnosisnow.com/hypnosis-downloads/wp-content/uploads/2019/12/best-hypnosis-downloads.jpg" title="Hypnosis Downloads NYC">
    </a>
</div>

<div class="mobile-site-logo hide-on-desktop hide-on-tablet">
    <a href="https://www.tryhypnosisnow.com/hypnosis-downloads/" title="Hypnosis Downloads NYC" rel="home">
        <img class="header-image" alt="NYC Hypnosis Downloads MP3s" src="https://www.tryhypnosisnow.com/hypnosis-downloads/wp-content/uploads/2019/12/best-hypnosis-downloads.jpg" title="Hypnosis Downloads NYC">
    </a>
</div>

I already cut in half twice.

Details
File name: best-hypnosis-downloads-1.jpg
File type: image/jpeg
Uploaded on: December 28, 2019
File size: 8 KB
Dimensions: 300 by 74 pixels

The code is still showing that this is the image being used:
https://www.screencast.com/t/n6SGtPpfJVn7

Not the best-hypnosis-downloads-1.jpg you mentioned above.

Also there might be some confusion with how width: 100%; works.

If we use a screen of 1500px in width to view an image of 300 by 74px is with 100% width applied, the image will actually become 1500 by 370px - both width and height will be multiply by 5 times.

I'm not sure if that's what you wanted?

No. I want full width but not 5 times the size.

This archived topic is closed to new replies.