× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

add menu item to the top menu

More
7 years 7 months ago - 7 years 7 months ago #1788 by 400396
400396 created the topic: add menu item to the top menu
hello.

i add a menue to the top menue in the deafult template there is 5 so i add another 1 , the problem is that i didn't saw the 6th one that i add, when i replace places with the 5th one "rtl lan" i see the menu i added but the "rtl lan" is gone , how i can solve this problem? and see all the menues

thanks .

avi
Last Edit: 7 years 7 months ago by 400396.

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago - 7 years 7 months ago #1792 by marcin
marcin replied the topic: Re: add menu item to the top menu
Hello,

There is probably no space for the sixth menu item.
This template was designed to have a one row of menu items on "dj-menu-top" position.
I can recommend you to try to shorten the menu items titles.

If you have some basic knowledge of html/css, you can also try to change the property of padding attribute for "span" tag. If you use the DJ-Menu module with mootools effects enabled, just edit djmenu_fx.css file (in other case edit djmenu.css) which is located in the "css" directory of your template. In the line 46th you will find the mentioned css styles:
.dj-main li a.dj-up_a span {
  	float:left; 
	display:block;
	padding: 0 23px;
}

Try to change the property for padding e.g.:
.dj-main li a.dj-up_a span {
  	float: left; 
	display: block;
	padding: 0 10px;
}

There will be more space available for the menu items.

Regards,
Marcin
Last Edit: 7 years 7 months ago by marcin.

Please Log in or Create an account to join the conversation.

Time to create page: 0.211 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.