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.

Nav Width - need more space for main menu items

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

I'm not sure how to give more space to the main menu on Nebula. My menu items are wrapping to a second line. Where is this spacing controlled? Thanks
  • B Smith's Avatar
  • B Smith
  • 12 Month basic
  • 397 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
do you have a link for the site?

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

thanks Paul, also, can you tell me what I need to do to get these zenkit filter items to fill across the page here.

historic25.cloudaccess.net/businesses/dining.html
  • B Smith's Avatar
  • B Smith
  • 12 Month basic
  • 397 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
This could be done by adjusting the css using something along the lines of

#navwrap ul.nav > li > a, #navwrap ul.nav > li .separator {padding: 0px 15px !important;}

#navwrap ul.nav > li { margin: 0 2% 0 0;}

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

\templates\nebula\tpls\blocks

and adust the spans in the nav.php file given the logo is quite narrow

Currently it will be 4 and 8
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
is it not possible to change the grid ratio of the nav in template/layout?

right now it is givinng 8 for the nav. I'd like to give it 10
  • B Smith's Avatar
  • B Smith
  • 12 Month basic
  • 397 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
Yep that would be changing the span values

these lines

else {
$navwidth = "10";
}


<?php if($logotype !=="none") {?>
<!-- LOGO -->
<div class="span2">

it needs to add up to 12

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
Last Edit: 7 years 9 months ago by manh.
The administrator has disabled public write access.
there we go, thanks Paul.

Don't really understand why that is so arcane to set, given that everything else regarding layout is much easier to manage.

I'm good now.
  • B Smith's Avatar
  • B Smith
  • 12 Month basic
  • 397 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
Thanks for the update

It is something we are looking at

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