Support » Fixing WordPress » Reduce header height in Pixel-Linear theme

Viewing 10 replies - 1 through 10 (of 10 total)
  • your site just shows a ‘Coming soon’ page

    Sorry it is up now

    so just what part of the header do you want to reduce?

    I want to reduce the height of the header so that there is not so much “padding” above and below my logo

    so you want to remove some of the white space above and below the black and white Bodine Stone & Tile

    You will need to eithor create a child theme so you can change the css or use a css plugin like ‘My Custom CSS’ to add

    .navbar-inverse {
        border: medium none;
        padding-bottom: 19px;
        padding-top: 40px;
    }

    and then you can play with the top and bottom padding to meet your needs

    Go to your theme directory and open wp-content/themes/pts-pixel-linear-master/style.css

    open style.css and look for ” .navbar-inverse ” and change it to below code

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    .navbar-inverse {
         padding-bottom: 0px;
         padding-top: 0px;
         border: none;
     }

    this css will remove the white space from you header.

    Be aware – if you use @oberoibunty suggestion, the next time the theme is updated you will loose the change

    You need to create child theme first then add this code in style.css then you will not loose any changes that you will make in this theme.

    See: https://codex.wordpress.org/Child_Themes

    Thank You both! I installed a custom css plugin and used the code provided..it worked! Thank You for taking the time to help me!

    resolved

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Reduce header height in Pixel-Linear theme’ is closed to new replies.