Topic Closed
marcel
26 Posts

Hello,

I have created a blank theme with the skeleton theme. Is it possible to add the default responsive menu from gpEasy version 4.3.4 to this theme? If yes, it would really help me to give a step by step guide. If no, do you have a good suggestion for a responsive menu to use, which works smoothly with gpEasy?

Thanks!

7 years ago#7357

Josh S.
2K Posts
306K Downloads
16 Themes
18 Plugins

Hi Marcel,

The fastest way to get a responsive menu is to work off of a theme that already has a responsive menu like the Bootstrap_Flatly theme that comes with gpEasy.

Without using something like the bootstrap theme, you could do something like this. Make sure your template.php file is outputting a menu with at least to levels of hierarchy.

<?php gpOutput::Get('TopTwoMenu'); ?>

Then you'll need to add some css to hide the second level titles.

.menu_top > li > ul{
    display:none;
}

And to make it responsive:

.menu_top > li{
    position:relative;
}

.menu_top > li:hover > ul{
    display:block;
    position:absolute;
    top:100%;
    left:0;
}

 

7 years ago#7359

marcel
26 Posts

Hello Josh,

This was just the little step i needed to build the responsive menu from scratch.

Thanks! :)

7 years ago#7363

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In

  Register