Site logo

Archived topic

How to make Slide Out Menu appear center and Fix Height

9 replies · Started by Hieu on January 31, 2018

Viewing posts 1–10 of 10

Thanks you for Generate Press, your themes is awesome, very performance :D
I make a Slide Out Menu, but i don't know to make it center when it appear and fix height
Thanks for your support :)

Hi there,

Not sure what you mean. Like having the slide out navigation slide out to center?

Can you provide an example of what you would like to achieve?

Sorry about that. I want slideout menu navigation slide to center, it's mean from left/right to center.
Or can make it same as a popup ?
Thank you for answering me :D

So you would like the toggle to be center between other menu items?

No, I want to generate slideout menu to center body, not toggle to be center
It's mean when I click the toggle, generate slideout menu to center, not left or right

That should be possible with some CSS, but you may want to wait until GPP 1.6, as we've re-written the slideout navigation, and if we give you code today, it won't work once that update is out (this month).

Let me know if you'd rather have the code now and have to update it later.

Thank you, I need little code now and wait to update it later. How can I get?

You could try something like this:

.slide-opened #generate-slideout-menu {
    left: 50% !important;
    width: 500px;
    margin-left: -250px; /* half the width */
    top: 50% !important;
    height: 500px !important;
    margin-top: -250px; /* half the height */
}

Thank you, it's work perfect :D

You're welcome! :)

This archived topic is closed to new replies.