-
AuthorPosts
-
January 7, 2010 at 5:19 pm #147409
Hello,
I have problems with my menu items to be displayed correctly.
I only want to show only the active menu items bold. On first menu level everything is ok but if a menu item have sublevels all the sublevels are shown bold not only the active.I have tried a lot, but I didn’t have find a solution.
Please have a look at the screenshot or visit my site: http://www.gss-kn.de/fachbereiche/musik/musikprofil.html to understand my problem.Any help is welcome.
Dan
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 9, 2010 at 8:29 am #328778Thank you for answering.
Unfortunately the proposed solution doesn’t fit my needs. Now all the submenuitems form the first level are marked as red too (see picture 1). But I want the links in the second level shown exactly as the links are shown originally in the first level (picture 2). So if Fachbereiche->Musik->Bläserklasse is the active link, only the links Fachbereiche, Musik, and Bläserklasse are shown in blue and bold (pciture 3).
Thank you very much
Dan- Css Magician Friend
Css Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
January 13, 2010 at 3:08 am #329141Dear scheufler ,
Please open file template.css and edit lines 1098 as follow:
Change :
ul.menu li li li a {
color: #666666 !important;
font-weight: normal !important;
padding-left: 35px !important;
background: url(../images/arrow-active.png) no-repeat 25px 10px !important;
}ul.menu li li li a:hover,
ul.menu li li li a:active,
ul.menu li li li a:focus {
color: #003366 !important;
font-weight: normal !important;
background: url(../images/arrow-active.png) no-repeat 15px 5px !important;
}
to:
ul.menu li li li a,
ul.menu li li.active li a {
color: #666666 !important;
font-weight: normal !important;
padding-left: 35px !important;
background: url(../images/arrow-active.png) no-repeat 25px 7px !important;
}ul.menu li li li a:hover,
ul.menu li li li a:active,
ul.menu li li li a:focus,
ul.menu li li.active li a:hover,
ul.menu li li.active li a:active,
ul.menu li li.active li a:focus {
color: #003366 !important;
font-weight: normal !important;
background: url(../images/arrow-active.png) no-repeat 25px 7px !important;
}
2 users say Thank You to Css Magician for this useful post
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 3 voices, and was last updated by scheufler 14 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum