Sticky menu instead of regular menu

Support Forums for LiveMesh Themes & Plugins Forums Squash Theme Support Sticky menu instead of regular menu

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #17806
    degecreation
    Member

    I would like to know how to make that my sticky menu always displayed on all pages, instead of the regular menu. How can i make this? Thanks in advance.

    #17811
    Veena
    Moderator

    Pls try to modify file js/main.js line no: 44 from

    if (width > 768 && (yPos > 200)) {
    

    to

    if (width > 768) {
    

    And then add the below custom CSS in themeoptions –

    #header{
    display: none;
    }
    #primary-menu {
        display: none;
    }
    #sticky-menu-container {
        display: block;
    }
    @media only screen and (max-width: 767px){
    #sticky-menu-container {
        display: none !important;
    }
    #header{
    display: block !important
    }}
    
    
    #17824
    degecreation
    Member

    Yes, it works great! Thanks for fast reply.

    One more question. I use portfolio and I would like to have the sidebar on the left side in the detailed pages. How can I do this?

    #17829
    Veena
    Moderator

    Pls try the below custom CSS in themeoptions and see if it helps –

    .single-portfolio .entry-content.ninecol {
        float: right;
        margin-right: 0;
    }
    
    #18001
    degecreation
    Member
    This reply has been marked as private.
    #18017
    Veena
    Moderator
    This reply has been marked as private.
    #18034
    degecreation
    Member

    Thanks!

    Three more thing. I would like to have a retina version of my logo for the sticky menu. How can I do this?

    Also, how can I put less space after my Dégé logo on mobile version? (because I don’t use the social logos). And finally, how to set the testimonials slider for staying more time on each slide?

    #18059
    Veena
    Moderator

    Pls try to modify the function mo_site_logo() in framework/presentation/utility-functions.php line number 21. Output a custom retina logo img element there at the end of the function –

    $output .= 'Retina Logo';
    

    and then use custom CSS –

    #site-logo a img.retina-logo { display: none; }
    @media only screen and (-webkit-min-device-pixel-ratio: 2) {
        #site-logo a img.retina-logo { display: block; }
        #site-logo a img{ display: none; }
    }
    

    You can also refer to some help on the net.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Squash Theme Support’ is closed to new topics and replies.