Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #584275

    Hi,

    I would like to disable the top bar with secondary-menu and telephone-info on desktop size.

    I already tried:

    @media only screen and (min-width: 1140px) {
    	#header_meta {
    		display:none;
    	}
    }

    but this leaves an extra space below the header. Also the logo area partially disappears at the top when scrolling.
    Any idea how to fix this?

    Thanks in advance!
    Andreas

    #584284

    Hey moviestar007!

    Please change your code to following one

    @media only screen and (min-width: 1140px) {
    	#header_meta {
    		display:none;
    	}
    .html_header_top.html_header_topbar_active.html_header_sticky.html_large #top #main {
        padding-top: 117px;
    }
    }

    Best regards,
    Yigit

    #584421

    Hi Yigit,

    thanks. I tried this before, it reduces the space below the header, but the logo and menu still disappear when scrolling. I would like to keep the sticky header.

    Any more ideas what to do?

    I inserted the code so you can see.

    Kind regards
    Andreas

    #584556

    Hi!

    Please add following code to Quick CSS as well

    #header {
        margin-top: 0!important;
    }

    Cheers!
    Yigit

    #585042

    Hey Yigit,

    that’s exactly what I wanted! Thanks again and again for your great support!

    Best regards
    Andreas

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Disable top bar (#header_meta) on desktop’ is closed to new replies.