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.

Customising Main Menu

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

Hi,

Is it possible to put a space between the first menu item 'Home' and the next menu item as there is an image that sits over the nav bar and I'd like 'Home' to sit one side of it and the rest of the menu on the other.


ScreenShot2014-09-22at9.57.44pm.png



www.mackaycanegrowers.com.au/joomla/

I've also just realised by putting an image over the navbar I now can't use the dropdown - any way round this?

Thanks in advance.
  • Leon Cuzzilla's Avatar
  • Leon Cuzzilla
  • LIfetime Developer - Big Bamboo
  • 110 posts
  • Karma: 0
Last Edit: 9 years 6 months ago by Leon Cuzzilla.
The administrator has disabled public write access.
You can target individual links using their itemid (you can see this quickly by viewing the source code for the menu)

As well as adjusting the whole menu
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Leon Cuzzilla
What is happening with the menu is the image is sitting on top of the menu making it unclickable as the user is clicking the transparency of the png
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Leon Cuzzilla
The problem with z-index is that defeats the object of having the image there in the first place - it may be possible to alter this but not sure
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Leon Cuzzilla
Ok thanks will look at the individual itemids and change some css but not sure what to do about the image over the nav then.
  • Leon Cuzzilla's Avatar
  • Leon Cuzzilla
  • LIfetime Developer - Big Bamboo
  • 110 posts
  • Karma: 0
The administrator has disabled public write access.
The only way at the moment I can see is

.t3-mainnav > .container {z-index: 10000;}

And then remove the light green background from the elements below it
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Leon Cuzzilla
Thanks for your advice. I ended up spitting the banner in two, putting them in 2 different grid positions under the Main Menu. So the part with the image could sit as a png over the main menu to the left of Home and the right hand side could sit underneath the menu without putting a transparent png over the menu items. I haven't tested it in IE but seems to look ok in other browsers. It still needs a bit of css tweaking for smaller screens and responsive views but could work ok I think.
  • Leon Cuzzilla's Avatar
  • Leon Cuzzilla
  • LIfetime Developer - Big Bamboo
  • 110 posts
  • Karma: 0
The administrator has disabled public write access.
Yeah that sounds a better solution than mine :)
  • 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