Jump to content

[SOLVED] CSS background issue with the items in the menu that have long titles.


Recommended Posts

Hi.

 

I have some long titles of some categories and subcategories.

As you can see from the attached screenshot, background is fixed, so longer titles are going out of the scope.

 

post-525426-0-76441400-1368786172_thumb.jpg

 

Is there a simple css fix to get the background to these longer titles as well?

 

Ty in advance

Dean

Edited by Dolke (see edit history)
Link to comment
Share on other sites

/modules/blocktopmenu/css/superfish-modified.css

line 173:

 

.sf-menu li li {
width: 200px;
background: #726f72 !IE;
}

 

change width param to 300, then:

 

line 56

ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
left: 200px;
top: 0;
}

 

left 200 - change to left:300px;

 

then

 

line 65

ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul {
left: 200px;
top: 0;
}

left:200px; to left:300px;

Link to comment
Share on other sites

×
×
  • Create New...