Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #764742

    Hi guys,

    Having some trouble with keeping my fullwidth submenu sticky – it isn’t happening. Can you help?

    This doesn’t work only when viewed from a mobile.

    Here’s the link

    #764744

    Sorry error in the credentials… Attached here.

    #764746

    And attached below is the link with the problem [resending this because in the first case, my link seems to have turned in to an image.

    #764747
    #764787

    Thank you Andy. It appears it doesn’t work well there, so let me know delete that line.

    #766179

    Hi,

    try this code inside Quick CSS field:

    @media only screen and (max-width: 767px) {
    .responsive #top .av-submenu-container {
    position: fixed !important;
    top: 565px !important;
    }}

    and adjust top value if needed.

    Best regards,
    Andy

    #1000879

    Hi guys,

    This code works great to make the full width submenu stick to the screen on smaller screens but its sticking to the bottom of the screen from the top of the page. I´ve tried changing the “top” number to “120px” instead of “565px” which makes it stick to the bottom of the main menu but I´d like it to stick to the top of the page as you scroll down past it like it does on the large screens.

    Any suggestions on how I can modify it for this to happen. Please see the page below.

    Many thanks again

    #1001153

    Hi ProTravelGolf,

    Try the code like this

    
    @media only screen and (max-width: 767px) {
    .responsive #top .av-submenu-container {
    position: fixed !important;
    top: 0 !important;
    }}
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1001182

    Victoria,

    Thank you for your help however 2 things:

    1. The submenu is now not being shown as it is being hidden behind the main menu as I have the main menu sticking to the top with the following code:
    @media only screen and (max-width:767px) {
    #top {padding-top: 112px !important;}
    .responsive #top #wrap_all #header {
    position: fixed;
    top: 0;}
    }

    2. I tried taking the above code out so that the main menu was no longer sticky but the submenu then just stuck to the top from the beginning of the page loading.

    What I´m after is for the submenu to appear further down the page (where it is positioned) and staying fixed in that position in relation to the page rather than the screen (as it does on larger screens) and then sticking to the top when it reaches the top of the page.

    Would that be possible?

    Thanks so much again!!

    #1001238

    Hi ProTravelGolf,

    Well, right now the main menu is not sticking and sub-menu sticks when it reaches the top. Is this not a working solution for you?

    Best regards,
    Victoria

    #1001317

    Victoria,

    I´ve put the sticky main menu code back in as this is what I want on all pages so the submenu now can´t be seen unless I adjust your top: 0 to top:120. However, as I say what I´m after is for the submenu to appear further down the page (where it is positioned) and for it to stay fixed in that position in relation to the page rather than the screen (as it does on larger screens) and then for it to stick to the top when it reaches the top of the page.

    Is this a possibility?

    Many thanks again!

    #1001551

    Hi ProTravelGolf,

    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 it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Victoria

    #1001563

    Victoria,

    Ok no problem. Thank you so much again for your continued excellent support!

    Best regards

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