New Landing How can we help? Themeforest Theme Support Dante Dante – How to change minimum window-width when Mobile Menu appears?

Viewing 15 posts - 1 through 15 (of 15 total)
  • Posted in: Dante
  • #67708
    Turnleaf
    Member
    Post count: 50

    The Mobile Menu starts being displayed at too wide a browser-window width for my setup (in my case it appears at a Chrome window-width of 1008 pixels).

    I would like it to only appear if my browser window is narrower than 800 pixels.

    Where and how do I change the minimum window-width below which the Mobile Menu appears?

    #68073
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Which version theme is being used by you . Our demo [http://dante.swiftideas.net/] is working perfect as you want .

    Thanks 🙂
    With Best Regards
    Swift Ideas

    #68115
    Turnleaf
    Member
    Post count: 50

    I want to be able to set my own width for when the mobile menu appears.
    Where is the variable where I can set this?

    Thanks.

    #68300
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, sorry for the misunderstanding, I don’t know what Mohammad was referring to.
    You cannot set just a variable for this, you need to modify the theme files.

    So in responsive.css you find this code

    
    /* --------------------------------------------
    	iPAD/TABLET PORTRAIT
    -------------------------------------------- */
    

    and afterwards you’ll find the code that kicks in in ipad portrait mode, so

    #main-navigation {
    		display: none;
    	}
    	.header-1 #main-nav, .header-1 #main-nav-sticky-wrapper, .header-1 .header-left, .header-1 .header-right, .header-2 #main-nav, .header-2 #main-nav-sticky-wrapper {
    		display: none;
    	}

    for example hides the navigation and the sticky wrapper on mobile. So if you want to change that you need to copy the code (including the @ media query) and modify the values of the media query

    @media only screen and (max-width: 991px) {

    according to your liking.
    Then you need to copy all the other css that is affected by the responsive css for that section.

    If you’re unsure how to do that please hire a developer of your trust to help you with that.

    Cheers

    #68308
    Turnleaf
    Member
    Post count: 50

    Thanks Melanie!

    Since this is quite complicated for most people, could you suggested to the theme developers that they give users a preference setting for the “window width” at which the Mobile Menu appears?

    Thank you!

    #68324
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @Turnleaf – it’s on the list. Hoping to sort out a dropdown in the theme options that lets you choose wether the mobile header starts at tablet portrait, tablet landscape, or mobile.

    – Ed

    #68331
    Turnleaf
    Member
    Post count: 50

    @Ed: thanks for responding personally, great!

    While you’re add it, could you also make it so that even on mobile, the Mobile Menu does NOT appear?
    (If that’s already possible, please let me know how I can achieve this?)

    Thanks!

    #68637
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @Turnleaf – not sure what you mean? You don’t want the menu button visible on mobile?

    – Ed

    #68639
    Turnleaf
    Member
    Post count: 50

    I meant there should be a preference to be able to make menu look exactly identical in both mobile and desktop layouts.

    #68906
    Melanie – SUPPORT
    Member
    Post count: 11032

    Thank you for the feedback!

    #68964
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @Turnleaf – it would be impossible for the standard menu to fit on mobile view, and it wouldn’t be user friendly at all.

    – Ed

    #68993
    Turnleaf
    Member
    Post count: 50

    @Ed: when there are only very few menu items, it might well fit. Let is have the option, so we can decide for ourselves? Thanks!

    #69405
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Not had anyone else request this, and it’s not as simple as just adding it as an option for you to decide, it would mean we would have to spend time building it into the theme, which we don’t have time to do as we are working on adding more requested features.

    Hope you understand

    – Kyle

    #69435
    Turnleaf
    Member
    Post count: 50

    I do understand your resource constraints.

    #69436
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Appreciated

    – Kyle

Viewing 15 posts - 1 through 15 (of 15 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