Site logo

Archived topic

Add "Sign In or Join" button in header that opens an overlay

8 replies · Started by Randy on December 11, 2020

Viewing posts 1–9 of 9

New to GP Premium and like it a lot so far!

I'm looking to use the Off Canvas Menu concept that opens as an overlay.

However, I'd like to simply launch that off canvas overlay from a "Sign In or Join" button that I place in my header, but I'm not sure which combination of widgets to use to achieve that.

Any guidance much appreciated!

Hi there,

the Off Canvas can be triggered by any link that has a CSS class of slideout-toggle
So you can simply add a HTML Widget to the Header or any where else and add a link like so:

<a class="slideout-toggle" href="#">Sign In or Join</a>

Then to remove the Off Canvas Toggle from the Primary Nav you can add this CSS:

.main-navigation .menu-bar-item .slideout-toggle {
    display: none;
}

deleted

Strange. If your CSS works then David's CSS should definitely work.

Any chance you can link us to the page in question?

deleted

deleted

I changed the setup, so opening a new support request.

Sounds good :)

This archived topic is closed to new replies.