Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1041634

    Hi Guys,

    How would I hide the header and footer for mobile devices (990) on a single page?

    Many Thanks

    #1041643

    Sorry can I also remove the right sidebar as well on the same page.

    #1041709

    first of all – do you like to hide it on mobile devices or for small screens too?

    #1041713

    Mobile devices please

    #1041740

    you can use in that case only css because Enfold uses for mobile devices a class on html : avia_mobile
    can you please try this in quick css and change the page id to yours wanted.
    Think of refreshing cache and refresh merged files on Enfold

    .avia_mobile .page-id-33662 #header, 
    .avia_mobile .page-id-33662 #footer, 
    .avia_mobile .page-id-33662 #socket {
        display: none;
    }
    .avia_mobile #top.page-id-33662  #wrap_all #main {
        padding-top: 0 !important;
    }
    .avia_mobile .page-id-33662 .sidebar {
        visibility: hidden;
        border-left: none !important;
    }
    .avia_mobile .page-id-33662 #main .content {
    	border-right: none !important;
    	width: 100%;
    }
    #1041741

    Guenni – thanks for that BUT I just realised it’s not for a single page but for the individual post pages..?

    #1041742

    So it’s for every post

    #1041756
    .avia_mobile .single-post #header, 
    .avia_mobile .single-post #footer, 
    .avia_mobile .single-post #socket {
        display: none;
    }
    .avia_mobile #top.single-post  #wrap_all #main {
        padding-top: 0 !important;
    }
    .avia_mobile .single-post .sidebar {
        visibility: hidden;
        border-left: none !important;
    }
    .avia_mobile .single-post #main .content {
    	border-right: none !important;
    	width: 100%;
    }
    #1041758

    if it is one post only look to source code – the pages/post goes as class to the body (#top) tag.
    f.e.: .postid-33645 etc

    #1041762

    I put that in Quick CSS and id did not work?

    #1041767

    and you look to your site on a mobile device?
    so – best will be to see your site.
    If you could not make it public – post it in private area – and wait til mods are here.

    #1041769

    Hmmmm – Let me check cache?

    #1041771

    you can simulate on some browsers the mobile devices. F.e. Firefox with alt+cmd+M and then choose a device you like to look for. Refresh Browserwindow then and look.

    #1041772

    T h a n k Y o u ! Guenni – it’s working now!!!!

    #1041914

    Hi nasman22,

    Great, glad you got it working and thanks to @guenni007 for helping out :-)

    Best regards,
    Rikard

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.