• Resolved thurstonlim

    (@thurstonlim)


    Hi there,

    I would like to use the mobile menu on any device below a certain pixel width. (that way when users resize tabs the mobile menu will appear) However, whenever I do this it makes my original menu disappear all together. The sticky menu will still appear when I scroll but originally there is nothing at the top of my page. I was wondering if there is a fix for this?

    Here’s a link to the site I need help with :
    https://thurston.reainc.net/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Rui Guerreiro

    (@takanakui)

    Hi @thurstonlim,

    We only hide what is checked in the Hide Elements by default. Just uncheck all those options in General options-> Hide Elements by default.

    Please note that your theme can also be hiding some parts when the resolution is lower.

    Thread Starter thurstonlim

    (@thurstonlim)

    My header menu is not one of the default elements that are hidden. I’ve tried un-checking everything and the result is unfortunately still the same. No header originally, but after I scroll down for a bit then the header appears.

    Thread Starter thurstonlim

    (@thurstonlim)

    The ID of my header is #stm_church. I added this to the sticky HTML elements advance option as well to display it. This helps it appear after scrolling but for some reason it’s hidden initially.

    Plugin Author Rui Guerreiro

    (@takanakui)

    Looking at the code it’s seems that .main-header-bar, .stm_mobile__header, #stm_church is in the Hide Elements field (it’s a different field from the Hide Elements by default).

    You shouldn’t place it in the Sticky HTML Elements, that’s not the goal of that field.

    Thread Starter thurstonlim

    (@thurstonlim)

    If I don’t hide the .stm_mobile_header, there are conflicting mobile headers under a certain resolution. (The header plugin i’m using has it’s own mobile header) Unfortunately I don’t think this is related to my issue. In the sticky elements, if I don’t put anything in that field, I have a header but it doesn’t stick. (#stm_church) If I don’t put it in that field, then I have the header but it isn’t sticky.

    Plugin Author Rui Guerreiro

    (@takanakui)

    @thurstonlim I’m a bit confused. What header doesn’t stick? The one created with WP Mobile Menu? You have an option for that in the Header options.

    Can you take a screenshot of what you have in the Hide Elements field?

    No problem of hiding .stm_mobile_header but it seems that you are also hiding the #stm_church. That’s why I’m not understanding the initial topic about the original menu not being visible.

    Thread Starter thurstonlim

    (@thurstonlim)

    SO, the WP mobile menu works fine. This is how I want my page to look initially with the header on top:
    https://snag.gy/1Mlu0Z.jpg

    As I scroll down, I want the menu to be sticky and look like this:
    https://snag.gy/8dSCV3.jpg

    However, as soon as I turn this off this checkbox(I want the mobile menu to appear on desktop at a certain resolution):
    https://snag.gy/eKA25D.jpg

    My original header on the desktop dissapears and this is what my page originally looks like:
    https://snag.gy/xm40Kp.jpg

    If I add #stm_church (my header) to the sticky HTML elements, it appears on scroll again but isn’t there initially.
    https://snag.gy/bIBAzq.jpg

    Here’s what I have in hide elements:
    https://snag.gy/GVzZwH.jpg

    I hope this makes sense and appreciate the time you’re taking to help me, thank you!

    Plugin Author Rui Guerreiro

    (@takanakui)

    Thanks.
    You need to remove #stm_church from the Hide elements.

    The sticky HTML elements option is because of the slideout Push content effect so that the fixed elements can stay in their original position.

    I would suggest that you change the Menu display type to slideout over content.

    Try those 2 suggestions to see what happens(General Options)
    1- remove #stm_church from the Hide elements.
    2- Change the menu display type to Slideout Over Content

    Thread Starter thurstonlim

    (@thurstonlim)

    Ah this worked! I still need to hide the elements, but the 2nd suggestion works,
    thank you!

    Plugin Author Rui Guerreiro

    (@takanakui)

    No problem. I’m glad it’s sorted.
    Let me know if it’s necessary help to identify the elements.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Enable on Desktop Problem’ is closed to new replies.