Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #532723

    Hi I’d like to hide the header on mobile phones only for the site http://www.vacationrentalworldsummit.com/

    I tried this quick CSS but doesnt’ work:

    @media only screen and (max-width: 990px) {
    .title_container { display: none !important; }}

    what should i do?

    thanks.

    Antonio

    #532731

    Hey Antonio!

    Can you please post a screenshot and show the changes you would like to make?
    Code you used should remove title bar on screens smaller than 990px. It is not targeting header. If you would like to target header, please use following code

    @media only screen and (max-width: 990px) {
    #header { display: none !important; }}

    Cheers!
    Yigit

    #532732

    Hi Antonio!

    Your code will hide the title container which is where the breadcrumbs are located.

    If you actually want to hide the header then you would use this.

    @media screen and (max-width: 990px) {
    #header { display: none !important; }}

    Best regards,
    Elliott

    #532742

    Awesome guys!!!!
    It works great now, problem solved, thank you soooo much.
    You guys are #1 and I’m promoting Enfold far and wide to everyone following me (and I’ve got a community of a few thousand people) :)

    Antonio

    #533134

    Hi,

    Glad we could help :-)

    Thanks,
    Rikard

    #538820

    Thanks, you can mark this as solved.

    Antonio

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Hide header on mobile only?’ is closed to new replies.