Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1100666

    Whether through CSS or PHP changes, I am desperate to have the menus operate as:

    Desktop: Transparent, sticky, and shrinking

    Mobile: Not transparent, sticky, and shrinking (if possible)

    Any thoughts would be greatly appreciated.

    #1100694

    Even if a menu plugin is needed, though CSS or PHP would be my preferred fix.

    Thanks!

    #1100960

    Hi rainchild,

    Can you please share the link to your website?

    Please have a look at our docs

    Best regards,
    Victoria

    #1101142
    This reply has been marked as private.
    #1101157

    And thank you for sharing the documentation. I’ve gone through it and applied the settings.

    The big problem is when desktop is set to transparent header, I need the mobile header not to be transparent and shrink on scroll. Can’t get the shrink on scroll to happen (which would be nice). But the bigger issue is that I cannot get the mobile header to NOT be transparent when the desktop version is transparent.

    The reason I need this is for intra-page links that scroll to a section. The top of that section is now hidden underneath the transparent mobile header.

    Thank you again for you help with this.

    #1101551

    Please let me know if you need any additional info from me. I was hoping that this could be accomplished with CSS and/or PHP mods.

    Thanks,
    Josephine

    #1102283

    Hi Josephine,

    What do you mean the section is hidden?

    Could you please attach some screenshots of the issue?

    Best regards,
    Victoria

    #1102643
    This reply has been marked as private.
    #1103044

    Hi rainchild,

    The header is not transparent on mobile unless you add css for it.
    The header does not shrink on mobile. It is of the set height.

    The header can be sticky on mobile.

    Here is the code to make the header sticky on mobile

    Best regards,
    Victoria

    #1103122

    Hi, Victoria. Thank you again for the help with this. The interesting thing about the logo being transparent on mobile is that I see what you mean – it doesn’t have an opacity, but it acts like a transparent logo in that it works in a parallax way, covering the copy below it. This is what I’m trying to avoid.

    Here are two screenshots:
    dt1.jpg demonstrates what I’m speaking about. The logo covers the copy below. The reason I’m trying to fix this is that this is a single page site, so the mobile links are on page anchors, moving from one Enfold section to another. Please test it on the mobile site and you’ll see what I mean.

    dt2.jpg – is the actual top of that section that is being covered by the menu when you click on the link from the mobile menu.

    So that’s why I said the menu was acting like a transparent menu, but may be it’s the parallax affect I’m trying to avoid. Any code I could try for this?

    Thanks!

    #1103125

    You can also see this effect just on the home page of the site through mobile. The menu is transparent in that it covers the content/image below it. It’s opague, but still functioning as a transparent logo.

    Is there a way to not have it sit on top of the content below like it was transparent?

    Thanks, Victoria!

    #1104423

    Hi,

    Thanks for the update.

    You should adjust the top margin of the main or content container to prevent the header from covering it.

    @media only screen and (max-width: 767px) {
    .responsive #top #main {
        margin-top: 80px!important;
    }
    }

    Best regards,
    Ismael

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