Selectors for only the first level of dropdown nav?

Posted by Community Admin on 05-Aug-2018 17:55

Selectors for only the first level of dropdown nav?

All Replies

Posted by Community Admin on 03-Oct-2013 00:00

I have the following class adding an 'up-arrow' to the top of the pop-up nav pointing to the parent group/page name...
.headermainnav .sfNavHorizontalDropDown ul.k-popup li:first-child:before
            border-bottom: 9px solid #DBDEE4;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 1px solid transparent;
            content: " ";
            height: 0;
            margin-top: -9px;
            position: absolute;
            left: 52%;
            top: 0px;
            width: 0;
       

But it's also adding it to the popup of any 3rd level nav items. How can I restrict this css to just the 2nd nav level?

Posted by Community Admin on 08-Oct-2013 00:00

Hello Nikolei,

 The reason why this happens is because Sitefinity Navigation uses the same classes for the divs and spans that wrap the individual pages. In order to change either the classes or the IDs if the navigation tabs you can go to Design->Widget Tenplates and either modify the existing widgets there or create a brand new one. That way you can style your navigation to your liking.

Regards,
Ivan D. Dimitrov
Telerik
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed