New Landing How can we help? Atelier hide top bar mobile

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #201060
    MBzwo
    Member
    Post count: 45

    hello,

    i would like to hide the top bar on phones. Can you provide any CSS for this??

    Thanks,
    Joe

    #201064
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Add the code below to your custom css option.

    @media only screen and (max-width: 1024px){
    .mhs-tablet-land .header-wrap, .mhs-tablet-land #top-bar {
        display: none!important;
    }
    }

    -Rui

    #201101
    MBzwo
    Member
    Post count: 45

    Thanks Rui, but thats doesn’t work as far as i can see. Do you have any other idea?

    #201104
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Just to be sure on what you need is this yellow bar?
    https://www.dropbox.com/s/t8lr87cr6a05hs7/Screenshot%202015-08-05%2018.37.15.png?dl=0

    if so change the custom css you have from

    body[class*="header-naked"] #top-bar {
        display: block!important;
    }

    to

    body[class*="header-naked"] #top-bar {
        display: none!important;
    }

    -Rui

    #201135
    MBzwo
    Member
    Post count: 45
    This reply has been marked as private.
    #201500
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Done. I replace your css.

    body[class*="header-naked"] #top-bar {
        display: block!important;
    }

    by this one

    @media only screen and (max-width: 767px) {
        body[class*="header-naked"] #top-bar {
           display: none!important;
      }
    }
    
    @media only screen and (min-width: 767px) {
    body[class*="header-naked"] #top-bar {
      display: block!important;
    }
    }

    -Rui

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register