New Landing How can we help? Themeforest Theme Support Dante hide sidebar on specific device

Viewing 15 posts - 1 through 15 (of 18 total)
  • Posted in: Dante
  • #112330
    Albulushi
    Member
    Post count: 49

    Is it possible to hide the sidebar and make the page full width on tablet like is shared thanks

    #112332
    Albulushi
    Member
    Post count: 49
    This reply has been marked as private.
    #112361
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Add the code below to the theme custom css option

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

    -Rui

    #112661
    Albulushi
    Member
    Post count: 49

    Thank you.

    This will remove the sidebar from the whole site what about for a specfic page ?

    appreciate your help

    #112672
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    To remove from a specific page you would need to get the page id class, for e.g:

    @media only screen and (max-width: 1024px) {
    .page-id-112  #sidebar{
    display:none!important;
    }
    }
    

    – Kyle

    #112694
    Albulushi
    Member
    Post count: 49
    This reply has been marked as private.
    #112697
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry, should be:

    @media only screen and (max-width: 768px){
    .page-id-22634 aside.sidebar{
    display:none!important;
    }
    }

    – Kyle

    #112701
    Albulushi
    Member
    Post count: 49

    HI kyle,

    thank you this works but the main page content is still showing on the right side it didnt took over the whole page any idea ?

    #112702
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Which page? Not seeing the change on http://www.saffronroadfood.com/new/recipes ?

    – Kyle

    #112703
    Albulushi
    Member
    Post count: 49

    Yes the same page but on 768 screen size the sidebar is removed now but the blog is still using the the right column instead of fullwidth

    http://quirktools.com/screenfly/#u=http%3A//www.saffronroadfood.com/new&w=768&h=1024&a=22&s=1

    #113137
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I still see the sidebar on a 768 screen? (see screenshot)

    – Kyle

    Attachments:
    You must be logged in to view attached files.
    #113359
    Albulushi
    Member
    Post count: 49

    The sidebar is now hidden but the page is still not full width

    #113363
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Please can you provide a screenshot, because it seems fine to me

    – Kyle

    #113367
    Albulushi
    Member
    Post count: 49

    Hey Kyle, the screen shot is attached the sidebar is removed but the blog column is not filling the whole page

    #113368
    Albulushi
    Member
    Post count: 49
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 18 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