Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #871862

    Hello, we have following setup:
    For desktop and mobile we are using different set of blocks in composer. But we only have 1 fullwidth sub menu. So when I click on any anchor link in the menu – on mobile it doesn’t scroll. However in the composer all IDs are set, but they are duplicate – same for mobile and desktop.
    Page in question – https://anticone.comadev.noc.lv/

    #872100

    Hey vadikcoma,

    I don’t think that will work since the ID’s are duplicate like you pointed out, I think you will need unique ID’s for mobile and probably a second sub menu as well.

    Best regards,
    Rikard

    #872119

    hi Rikard, thank you!
    Could you please advise us on how to place sub menu into some section, where we can control desktop and mobile visibility? As for now it seems that its impossible to put sub menu into color section

    #872845

    Hi,

    Unfortunately it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if its really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Basilis

    #872879

    Hi Basilis,
    Thank you very much for your time!
    So far it seems that it is almost impossible to create one page website with separate sections for mobile and desktop.
    As I see it, this trick can solve it quite easily – allowing to set separate menu (navigation) for mobile devices. I saw few themes have that

    #873036

    Hi,

    Thanks for the feedback. You have an option to control this manually if you want to try that out. If you enable the custom CSS option for all builder elements: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/. Then you can assign classes to your elements and control what screen sizes you want to show them for:

    @media only screen and (max-width: 767px) {
    .hide-on-mobile {
      display:none;
    }
    }
    
    @media only screen and (min-width: 768px) {
    .hide-on-mobile {
      display:block;
    }
    }

    Best regards,
    Rikard

    #873884

    Thank you Rikard,

    It worked!

    #874161

    Hi,

    Great, glad you got it working :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #874163

    Thanks, Rikard,
    Please consider as fixed

    #874522

    Hi,

    Thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Fullwidth Sub Menu not working on mobile’ is closed to new replies.