• Hi, I’m fairly new to css and i’m having an issue of having alot of white space in between my header and navigation bar. I’ve searched online for help but I can’t find any of the codes they say to change. I’m using a child preus theme.

    This is my website: northfarmingtonmsa.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • You can find the dedicated Preus Support Forum here.

    If you go to Administration > Appearance > Preus Settings and click on the layout settings tab you will find a Custom CSS Box. If you insert the follow code into that box, it will move the top of the navigation bar to the bottom of your header. Adjust the pixel values to your liking.

    Let me know if you need any more help!

    #primary-nav-wrapper {
    	padding-top: 0px;
    }
    
    #content {
    	padding-top: 0px;
    }
    Thread Starter afnanee213

    (@afnanee213)

    Hi, I pasted the code into the custom css box but it hasn’t done anything to the header or the navigation bar…am i missing something?

    Thread Starter afnanee213

    (@afnanee213)

    Correction – It did make it a tiny bit smaller, but its not enough even at 0px. Is there any way to reduce it even more?

    The code I provided works for the Preus theme from the WordPress Theme Directory. If you have made modifications to it, the code might not work. Taking a closer look at your theme, I have provided code below which will probably work with the modifications that you made. Replace what you currently have in custom CSS with the code below.

    Let me know your results.

    #primary-nav-wrapper {
    	padding-top: 0px;
    }
    
    #content {
    	padding-top: 0px;
    }
    
    #masthead {
    	margin: 60px auto 0px auto;
    }
    
    .metaslider metaslider-nivo metaslider-146 ml-slider {
    	margin: 0px auto 0px auto;
    }
    
    .nivo-controlNav {
    	padding: 15px 0px 15px;
    }

    Hi, how did my last suggestion work out? If you’re happy with the result, please mark this thread as resolved so other users having similar problems know that yours was fixed.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove white space’ is closed to new replies.