Jump to content

Failure in top menu


Recommended Posts

Hi guys,

 

i have bought a template from PS addons website called vp_medical. Got a problem with top menu. It doesnt work as it should... U can see my shop here www.vita-med.sklep.pl - and check top menu. It is getting messed up when I set some subcategories to the main categories.

I got here 3 main categories: as u can see in menu "Ortopedia", "Proflaktyka" and "Rehabilitacja". The last one got subcategory and its display is broken - its getting some additional background with a home icon. The same thing is happening when u hold ur mouse on "Home" button... u can see when menu expand the category with subcategories doesnt display properly.

 

Do u have any ideas what to do with that failure?

Link to comment
Share on other sites

style.css line 93

change:

.sf-menu li a.sf-with-ul {
background-image: url(../../img/header/icon_home.png) !important;
}

to:
 

.sf-menu li:first-child a.sf-with-ul{ background-image:url(../../img/header/icon_home.png) !important;}
Link to comment
Share on other sites

Thanks, one problem is gone. But there is still the second one, unfortunatelly. I tried to examine code elements using FireFox and got to the solution:

...
<a class="sf-with-ul" href="http://vita-med.sklep.pl/">
    Główna
    <span class="sf-sub-indicator"></span>
</a>
<ul style="display: none; visibility: hidden;">
    <li class="">
        <a class="sf-with-ul" href="http://vita-med.sklep.pl/6-rehabilitacja">   <-- here spotet
            Rehabilitacja
            <span class="sf-sub-indicator"></span>
        </a>
...

If i delete fragment class="sf-with-ul" from spotet line then menu is being displayed correctly. BUT i cant find a file with that code to change it permanently. Can u help me to find that file? And is it a good way to fix the problem?

 

sf-with-ul got css style that put a home icon in the background and do some additional paddings that move out a link text.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...