submenu width and position 11 Years, 10 Months ago
|
Karma: 0
|
I need to reduce the width of our submenu and correct positioning so that it aligns with the parent menu.
The site is on Joomla! 2.5.7 and uses the Beez_20 template.
The Menu widget parameters are set to Auto in the module. We thought the solution was to setting a width on #header .ux-menu-sub, but that wasn't it.
The following was added to the style sheet
#header
{
background:#EEE6B7;
font-size:1em;
position:relative;
}
div#header
{
overflow: visible;
}
#header ul.ux-menu li a:link,
#header ul.ux-menu li a:visited
{
display: block;
padding: 10px 20px;
font-family: 'myriad-pro', Arial, Helvetica, sans-serif;
}
#header ul.ux-menu li a.ux-menu-link-parent:link,
#header ul.ux-menu li a.ux-menu-link-parent:visited
{
display: block;
padding: 10px 40px;
font-family: 'myriad-pro', Arial, Helvetica, sans-serif;
}
#header .ux-menu ul.ux-menu-hidden
{
display: none;
}
#header ul.ux-menu
{
right: 0;
margin: 0;
padding: 0;
position: relative;
}
#header ul.ux-menu-sub li
{
text-align: left;
}
#header .ux-menu-container ul
{
max-width: none;
padding-right: 0;
margin: 0;
}
#header .ux-menu-sub .ux-menu-init-hidden
{
margin-top: -20px;
}
.left{float:left;}
.right{float:right;}
.clear{clear:both;}
Any suggestions?
|
|
|
Last Edit: 2013/01/08 16:49 By adwcth.
|
|
Re:submenu width and position 11 Years, 10 Months ago
|
Karma: 760
|
Hello,
Where we can see the problem?
Regards,
ARI Soft
|
|
|
|
|
Re:submenu width and position 11 Years, 10 Months ago
|
Karma: 0
|
|
|
|
|
|
Re:submenu width and position 11 Years, 10 Months ago
|
Karma: 760
|
Hello,
Core module CSS file was modified (menu.min.css file). It seems this problem with custom CSS properties in this file. Revert back file to original state and add your custom CSS properties one by one to find the problem.
Regards,
ARI Soft
|
|
|
|
|
Re:submenu width and position 11 Years, 10 Months ago
|
Karma: 0
|
Thank you. We were able to correct the width issue, however, even with the original menu.min.css file, the submenus do not line up against the parent menu.
|
|
|
|
|
Re:submenu width and position 11 Years, 10 Months ago
|
Karma: 760
|
This problem with site template styles for default menu. Add the following CSS rule:
#header UL.ux-menu-sub
{
padding: 0;
}
Regards,
ARI Soft
|
|
|
|
|
|