Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #35356
    Tim
    Guest

    I’ve read, and still lost. I’m new at this, and know no CSS. I need to move my logo to the left and menu to the right, and get rid of white space at the bottom of header.

    #35393
    Jesse Owens
    Keymaster

    Hi Tim-

    Thanks for reaching out, sorry to hear about the frustration designing your header.

    The Evolv theme has a “contained” header built-in, but you can make it full width with a little bit of custom code. If you’d like to get full control of your header design without any coding, I recommend checking out our newest theme, the Crio WordPress SuperTheme.

    That being said, here’s how you can accomplish your goals without changing themes.

    First, make sure to remove the negative horizontal margin on your logo. Navigate to Customize > Site Title & Logo and adjust the Horizontal Margin slider back from -50 to 0.

    Then, navigate to Customize > Advanced > Custom JS & CSS. Paste this line into the Custom Theme JS field:

    jQuery('#masthead div.container').removeClass('container').addClass('container-fluid');
    

    This will create a full-width header so that your logo and menu are all the way to the left and right.

    Then, to get rid of the extra white space, paste then following line:

    h3.site-description { display: none; }
    #35442
    Tim
    Guest

    Morning Jesse,

    Thank you! That did get rid of the extra white space at bottom of header, but the j Query for width didn’t seem to do anything.

    #35462
    Joseph W
    Keymaster

    Hi Tim, sorry to hear that jQuery code did not adjust your header width as expected!

    I jumped into the dashboard for your Cloud WordPress installation and saw that the jQuery code Jesse provided had some comment marks ( // )at the beginning of that line. Those comment marks were telling jQuery to disregard the code in that line and once I removed them your header elements started stretching the full width of your page.

    Hopefully things are displaying as expected on your end now and please let us know if there is anything else that we can do to help!

    #35468
    Tim
    Guest

    That’s beautiful! Thank you both!!

    #35473
    Joseph W
    Keymaster

    You’re welcome Tim! If you ever have any other questions for us in the future please do not hesitate to ask!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Full-Width header, get rid of extra white space’ is closed to new replies.