• Resolved olavvg

    (@olavvg)


    Adding custom CSS like this .site-header {

    height: 0px;
    }

    doesn’t work

    • This topic was modified 2 years, 11 months ago by t-p. Reason: Moved Fixing WordPress from Developing with WordPress

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Try:

    #top-bar-wrap {display:none!important}

    Don’t edit the theme files directly, otherwise your changes will be overwritten whenever the theme is updated.

    A custom CSS editor (usually titled Additional CSS) is included in the Customizer as of WordPress 4.7 specifically for this purpose.

    As an alternative, especially if you intend to modify more than just CSS, create a child theme.

    • This reply was modified 2 years, 11 months ago by t-p.

    Hello @olavvg

    There is padding in the top above the header, because of this the white bar is coming on the header.

    You add this CSS code, so the white space above the header will be removed.

    
    #top-bar {
         padding: 0 !important;
    }
    

    Thanks

    • This reply was modified 2 years, 11 months ago by Aezaz Shekh.
    Thread Starter olavvg

    (@olavvg)

    @t-p Thanks this worked ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do i remove the white bar above my header?’ is closed to new replies.