Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Menu responsive in tablet

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi,

I change menu CSS code and I have problems to show fine my new menu in all devices. Here you my menu in IPAD. responsivetest.net/#u=http://www.goierri.eus|2048|1536|2

My layout configuration is in attachment file.

Thanks
Attachments:
  • acvmultimedia's Avatar
  • acvmultimedia
  • 12 Month basic
  • 40 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

You have two options - change the collapse point in the settings in theme magic or you can try tweaking the css via a media query to try to fit the links on one line at this width

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

I think that best option is change CSS. Can you help me please?

Thanks
  • acvmultimedia's Avatar
  • acvmultimedia
  • 12 Month basic
  • 40 posts
  • Karma: 0
The administrator has disabled public write access.
Can you remind me of the site url?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
www.goierri.eus
  • acvmultimedia's Avatar
  • acvmultimedia
  • 12 Month basic
  • 40 posts
  • Karma: 0
The administrator has disabled public write access.
Looking at the code you have

@media screen and (min-width: 970px) {
.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > span {
padding-top: 15px;
padding-bottom: 0px;
padding-right: 30px;
padding-left: 15px;
line-height: 86px;
max-width: 305px;
min-width: 90px;
height: 76px;
background: none;
}
}

You need to either adapt it or create new media queries - looking at the site the first drop down value is

@media screen and (max-width:1250px) {
.navbar-default .navbar-nav > li > a,.navbar-default .navbar-nav > li > span {padding-right: 20px;padding-left: 15px;min-width: 90px;}
}

@media screen and (max-width:1200px) {
.navbar-default .navbar-nav > li > a,.navbar-default .navbar-nav > li > span {padding-right: 10px;padding-left: 5px;}
}

and so for values to the collapse value is reached

You would also want to adjust for min width and max width - you may also want to adjust font sizing in the media query

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers