_menu tag with module use only one level?

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Tue Dec 04, 2012 8:50 am
I use _menu prefix with menu module
It is right that it support only one sublevel, I mean higlight and icon change efect.
Now i have three levels menu and it looks wery bad... can anyone halp me?
see attachment picture...
first.png

Also I want that module can keept widht when i use long caption, now it strets module.
Also I want that menu text can use more than one line
second.png


Thanks your help
User avatar
Senior Boarder

teitbite
Tue Dec 04, 2012 11:47 am
Hi

I do not quite understand. Can You please show me Your site so maybe when I see it it gets clearer ?
User avatar
Moderator

teitbite
Wed Dec 05, 2012 3:05 pm
Hi

I'm guessing You want to add a code which will show which option is selected. Please try this one:

Code: Select all
.box_menu ul.menu > li > ul li.current a {
     color: red;
}


I need examples of rest of wrong behavior. When I add a content via firebug nothing got stressed and can be visible in multilines.
User avatar
Moderator

teitbite
Wed Dec 05, 2012 3:09 pm
Hi

Ok. I see what the problem with streaching is. Please add this code to css:

Code: Select all
.gkCol {
    display: block;
    float: left;
}
User avatar
Moderator

GK User
Thu Dec 06, 2012 2:23 pm
I put code to override.css file but no effect
User avatar
Senior Boarder

GK User
Thu Dec 06, 2012 2:26 pm
and module widht is same what is database field lenght (100)
How i can change module widht?
User avatar
Senior Boarder

teitbite
Sat Dec 08, 2012 12:32 am
Hi

I do not see site is using my code. It's still like that:

Code: Select all
.gkCol {
    display: table-cell;
    vertical-align: top;
}


Ok. I've checked and override was not enabled in template configuration.

Additionaly please add this code also:

Code: Select all
#gkContent {
    width: 73%;
}


This will fix the padding pushing down content part.
User avatar
Moderator

GK User
Tue Dec 18, 2012 12:44 pm
do i ad your code to owerride.css file or somewhere else?
User avatar
Senior Boarder

GK User
Tue Dec 18, 2012 12:53 pm
I add it but module widht is stil like database fiel lenght (100)
if I change field size then i can not use long category name like in your exsample becouse they not save in database.
User avatar
Senior Boarder

teitbite
Wed Dec 19, 2012 2:37 am
Hi

I do not know about database field length. You need to ask VM developers about that. Anyway still site is not using this code. Send me an access to ftp so I'll be able to place it myself.
User avatar
Moderator

teitbite
Fri Dec 21, 2012 1:11 am
Hi

I could not change it myself via FTP because my client doesn't have rights to modifie files, but I was able to look at the override.css file code and the problem is You have copied there a code I've said that is in use right now, while it supposed to be this one:

Code: Select all
.gkCol {
    display: block;
    float: left;
}

#gkContent {
    width: 73% !important;
}


Please just replace it and at least one problem will be solved.
User avatar
Moderator

GK User
Fri Dec 21, 2012 9:00 am
Yes, now it work.
Thank you very much!
User avatar
Senior Boarder

teitbite
Sat Dec 22, 2012 1:17 am
Hi

That's one part. Have You contacted a VM team already about the database limit for category title ? If yes can You please post a solution here for others ?
User avatar
Moderator

GK User
Sat Dec 22, 2012 11:19 am
it is not VM (if you mean virtuemart) module what I use. It is Adsmanager module.

I am going to use also VM module in my page but I think that these solution works also with VM.
I let you know how it is going
User avatar
Senior Boarder

teitbite
Sun Dec 23, 2012 12:40 am
Hi

I think what Adsmanager is showing are VM categories. Right ? If it has it's own database for that than maybe chaniging columns settings will be enought.
User avatar
Moderator

GK User
Mon Dec 24, 2012 12:44 am
Yes, your right. Adsmanager have own database table. I change colums settings lenght from 50 to 100 and with your layout changes now module work fine.
User avatar
Senior Boarder

teitbite
Thu Dec 27, 2012 2:06 pm
Hi

Super. It's really great to hear it :)
User avatar
Moderator

GK User
Fri Dec 28, 2012 3:38 pm
So, not selebrating yet...
I try use your code what you post before about coloring the selected row
".box_menu ul.menu > li > ul li.current a {
color: red;
}"

Nothing happend!
I want color selected row, remember?
User avatar
Senior Boarder

teitbite
Sat Dec 29, 2012 3:47 pm
Hi

No problem. Please just remind me Your site's url. I've lost all PM by accident.
User avatar
Moderator

teitbite
Sat Dec 29, 2012 6:47 pm
Hi

I do not understand. I've enabled this menu for all pages becuase it was only visible on frontpage so there were no category selected. Now I see a coloring selected is working fine. Was this Your question or an I missing something ?
User avatar
Moderator

GK User
Sat Dec 29, 2012 7:35 pm
I send email to you
User avatar
Senior Boarder

teitbite
Sun Dec 30, 2012 4:56 pm
Hi

Try with this code to change the look of it:

Code: Select all
.box_menu ul.menu > li.active > a {
    background: url("../images/menu_item.png") no-repeat scroll 12px 11px transparent;
    color: #292929 !important;
}

.box_menu ul.menu > li.active {
    background: none repeat scroll 0 0 #FDFCF1;
    border-left: 1px solid #DDDABD;
    border-right: 1px solid #DDDABD;
    border-top: 1px solid #DDDABD;
    border-bottom: 0 solid #DDDABD;
}

.box_menu ul.menu > li.active  ul {
    border-top: 1px solid #DDDABD;
}

.box_menu ul.menu > li > ul li {
    padding-left: 15px;
}


Unfortnately I cannot help with thie mail linking part. This would require a customisation we do not support.
User avatar
Moderator

GK User
Sun Dec 30, 2012 9:46 pm
No.not work. terrible
User avatar
Senior Boarder

teitbite
Thu Jan 03, 2013 2:05 am
Hi

That's odd. It looks ok with firebug. Please send me an access to ftp so I'll try myself.
User avatar
Moderator

GK User
Fri Jan 04, 2013 5:13 pm
Now it work.... I dont know what go wrong but now it is ok
User avatar
Senior Boarder

teitbite
Sat Jan 05, 2013 2:59 am
Hi

It was probably a cache keeping old css code. It happens all the time :)
User avatar
Moderator


cron