Change the box style of dropdown menu

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Tue Oct 16, 2012 11:25 am
Hello, I wanted to know if in this box as you can change the values ​​of paddig (right) to make sure that the longer names do not wrap?

Schermata 10-2456217 alle 12.08.51.png


That is, I want the box to be until the end of the box
as in this example:

Schermata 10-2456217 alle 12.18.38 copia.png


It is also possible put the lines between the cells as seen above?
User avatar
Expert Boarder

Konrad M
Tue Oct 16, 2012 12:35 pm
Hi,
can you give us url to your site ?
User avatar

GK User
Tue Oct 16, 2012 1:09 pm
i send you a pm
User avatar
Expert Boarder

GK User
Wed Oct 17, 2012 5:08 pm
Have a solution for me?
User avatar
Expert Boarder

Konrad M
Wed Oct 17, 2012 6:08 pm
Please try add to override.css
Code: Select all
.childcontent-inner-wrap,
.childcontent-inner,
.childcontent-inner .gkcol {
width:300px !important;
}

and set your own value. It allow you to resize submenu to fit your needs. Remember to enable override.css option in template settings.
User avatar

GK User
Thu Oct 18, 2012 7:30 am
Hello Konrad, I'm sorry but I have not made ​​it clear, I want to leave a 200px width of the dropdown box, but I want to remove the padding or margin or other space to the left of the menu items listed?
I hope I made ​​it clear ...
Thank you.

For the dividing line between the cells, instead you have any solution?
User avatar
Expert Boarder

Konrad M
Thu Oct 18, 2012 8:01 am
Please try add to override.css
Code: Select all
#gkMainMenu > div > ul div.childcontent li {
padding: 0 0 0 24px;
border-bottom: 1px solid #ffffff;
}

and in border set your own color value. Padding will remove right padding. If this will be not enought you can try decrease font size by adding this code:
Code: Select all
#gkMainMenu > div > ul div.childcontent a, #gkMainMenu > div > ul div.childcontent span {
font-size: 10px;
}

and decrease value to fit your needs. Remember to enable override.css option in template settings.
User avatar

GK User
Thu Oct 18, 2012 11:22 am
Hello Konrad, unfortunately the code you gave me does not work, I could only decrease the font-size for the rest of the space between the name of the menu and the edge of the box is (as you can see from the highlighted screeshoot done with webkitdeveloper - red box)

Schermata 10-2456219 alle 12.14.16.png


I would like to eliminate the space between the red box and the right edge of the containing box.
In addition to this even the bottom border is seen.

I also tried to change, other variables such as the childcontent-inner-wrap but this did not produce results ...
User avatar
Expert Boarder

Konrad M
Fri Oct 19, 2012 8:50 am
Please send me Private Message with access to your joomla backend.
User avatar

Konrad M
Mon Oct 22, 2012 9:49 am
Please check your site. I have added code I gave you to override.css and it is working.
User avatar

GK User
Mon Oct 22, 2012 10:34 am
Konrad M wrote:Please check your site. I have added code I gave you to override.css and it is working.

Ok thank you i see!!
User avatar
Expert Boarder


cron