Forum Support

Shape 5
March 28, 2024, 03:00:27 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Responsive menu on two rows  (Read 4739 times)
pici65
Jr. Member
**
Offline Offline

Posts: 126



« on: October 08, 2015, 10:21:43 AM »

Hello.
Do you know a module extension for responsive menu like this site?
http://www.baylor.edu/
If you reduce the window of the browser the menu in one row goes in two rows.
Or is it possible to work with the new Vertex?
Thanks for suggest

Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: October 08, 2015, 12:14:13 PM »

Hello,

It looks like they just did it with some CSS.  Once the screen hits a certain width they used a media query to set each LI to 25%.  It can be done with Vertex but you would need to add this in to the s5_responsive.css file and have it show at a certain width via a media query
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
pici65
Jr. Member
**
Offline Offline

Posts: 126



« Reply #2 on: October 08, 2015, 01:15:05 PM »

Hello,

It looks like they just did it with some CSS.  Once the screen hits a certain width they used a media query to set each LI to 25%.  It can be done with Vertex but you would need to add this in to the s5_responsive.css file and have it show at a certain width via a media query

Thanks for the answer.
Could you give me an idea for the ccs code?

Thanks
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: October 09, 2015, 12:10:12 PM »

Sure, it would be something like this, you have have to change the percentage depending on the amount of menu items but I'll just show it with what they have:

Code:
@media screen and (max-width: 800px){

#s5_nav li {
width:25% !important;}

}

The 800px is the screen width this should activate on
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
pici65
Jr. Member
**
Offline Offline

Posts: 126



« Reply #4 on: October 09, 2015, 01:27:58 PM »

Sure, it would be something like this, you have have to change the percentage depending on the amount of menu items but I'll just show it with what they have:

Code:
@media screen and (max-width: 800px){

#s5_nav li {
width:25% !important;}

}

The 800px is the screen width this should activate on

Thanks a lot
I try to do some test.

I have found also an extension
http://extensions.joomla.org/extensions/extension/structure-a-navigation/menu-systems/css3-mega-menu-for-skyline-menu
Do you think is possible to use it on the side of main menu of Shape template?
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #5 on: October 09, 2015, 03:30:06 PM »

Hello,

Not sure as we haven't tested it but I wouldn't assume so at first glace. Typically the Flex Menu wouldn't work with other extensions.

Regards,
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.