Home>Support>Masthead has too much white space between logo and header text

Masthead has too much white space between logo and header text

Hi Guys.

I’ve searched the threads and tried a few things but can’t figure it out?

On small devices my logo and header text has way too much white separating them.
On tablet and PC looks fine but the smartphones is the problem.

I have two logos.
Small and large.
Is there a certain size I should be using?
When I use the large one it centres it and header text over laps.
The small looks fine on large screens but maybe I should use bigger?
I want it to be left of screen and to the right have maybe some widgets or the text?

It’s still not up and running on public URL just yet.
http://27.124.117.1/~getinted/
Cheers.
Mitch.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 3 months ago Magus
    Hi, I Work Here

    Hi Mitch

    Please try adding this to your custom CSS

    @media all and (max-width:680px) {
    body.responsive #masthead .hgroup .support-text, body.responsive #masthead .hgroup #header-sidebar {
    margin-top: 0px !important;
    }
    }
    

    Let us know how it goes

    Magus

  2. 9 years, 3 months ago Magus
    Hi, I Work Here

    With the larger logo it does depend on the width of the logo image itself. If you want to you can change to that and I’ll see what we can recommend.

    Magus

  3. 9 years, 3 months ago GTint

    Thanks Magus.
    Yes it worked slightly.
    All good. Trying to figure out what else to put in the masthead?

    Cheers.
    Mitch.

  4. 9 years, 3 months ago Magus
    Hi, I Work Here

    Hi Mitch

    No worries, You should note that if you use the header sidebar area to add more content then this will replace the tagline where you had your support text. If you want to keep this then you will have to add it back into a visual editor or text widget.

    If the space between masthead items is too great for the look you want to achieve we can always reduce the element padding with custom CSS.

    Let us know which way you want to go.

    Magus

  5. 9 years, 3 months ago Private Message - GTint

    This is a private message.

  6. 9 years, 3 months ago Magus
    Hi, I Work Here

    Hi Mitch

    He has created a customized masthead for this. You can achieve the same result using a Visual Editor Widget in the Header Sidebar using Font Awesome icons for the images.

    Please try this in a Visual Editor Widget in Text Mode

    <span class="fa fa-phone-square"> Telephone Number</span>
    <a href=""mailto:[email protected]"><span class="fa fa-envelope-square"> Email address</span></a>
    <a href="/contact">Contact</a>
    

    We can the add styling with Custom CSS afterwards

    Magus

  7. 9 years, 3 months ago Private Message - GTint

    This is a private message.

  8. 9 years, 3 months ago Private Message - GTint

    This is a private message.

  9. 9 years, 3 months ago Private Message - GTint

    This is a private message.

  10. 9 years, 3 months ago Magus
    Hi, I Work Here

    Hi Mitch

    That is a known bug in the custom CSS Editor. You should still be able to use keyboard shortcuts for copy and paste.

    The editor is built on a technology called codemirror. This bug has been identified in their system. It has been caused by a javascript issue accessing the clipboard.

    Magus

  11. 9 years, 3 months ago Private Message - GTint

    This is a private message.

  12. 9 years, 3 months ago Magus
    Hi, I Work Here

    Hi Mitch

    Use this to target the header widget text

    #header-sidebar .textwidget span {
        font-size: 2em;
        font-weight: bold;
    }
    

    for the email address you can use this span

    <a href="mailto:[email protected]"><span class="fa fa-envelope-square"> [email protected]</span></a>
    

    I left an errant quote mark in the original. Just change the email to yours and the font awesome icon to one of your choosing.

    Magus

  13. 9 years, 3 months ago Private Message - GTint

    This is a private message.

  14. 9 years, 3 months ago Magus
    Hi, I Work Here

    Hi Mitch

    You have already entered the CSS to remove the top margin from the sidebar when viewed on small screen devices. The gap is being added by the logo image itself which has white space below the logo.

    TBH I have tested right down to below standard screen size and it looks fine. The only comment I would make would be about the space between the slider and the page text. If you remove the empty pagebuilder row from the page I think you would be sorted.

    Magus

  15. 9 years, 3 months ago Private Message - GTint

    This is a private message.

  16. 9 years, 3 months ago Magus
    Hi, I Work Here

    Hi Mitch

    Not quite what I meant :)

    The image has 26px transparency on the image canvas above and below the logo. This is what is giving you the extra space. The sidebar content can get no closer to the logo than the bottom of the image canvas.

    Magus

  17. 9 years, 3 months ago Private Message - GTint

    This is a private message.

  18. 9 years, 3 months ago Magus
    Hi, I Work Here

    Hi GTint

    Please navigate to Settings->Page Builder->Layout.

    There is a setting on here for the Row Bottom Margin. Adjusting this will bring the rows closer together. this can also be overridden using the bottom row margin option under Layout in the row editor of the page.

    Magus

  19. 9 years, 3 months ago Private Message - GTint

    This is a private message.

  20. 9 years, 3 months ago GTint

    Hi Magus.
    I think I have it all sorted now?
    When I put a value of 1 in it brought everything closer.

    Thanks.
    Mitch.

  21. 9 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    That is unfortunately a small bug in the Customizer at the moment. 0 isn’t accepted by 1 upwards is. Apologies for the hassle. Glad to hear you got it fixed.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More