Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I am using the special menu items module and made the top level menu to be nolink (Products). How do I change the style to be similar to the rest of my menu items - Home, Contact Us
See - www.geoilocate.co.za
Comments
Comment #1
danpros CreditAttribution: danpros commentedHi,
Not noticed this thread :)
You can use CSS like this (example):
Dan
Comment #2
antony.lovric CreditAttribution: antony.lovric commentedI did something similar but easier, changed the nolink span to
<a class="sf-with-ul" title="" href="#">
...and it has the correct appearance.
Cheers
Antony
Comment #3
bentleychan CreditAttribution: bentleychan commentedI can confirm that the solution in #2 works in the Drupal 7 version of Danland. I am using Drupal 7.14 right now. Thank-you for the really nice tip, Antony! Ben
Comment #4
antony.lovric CreditAttribution: antony.lovric commentedGlad to hear...
Comment #5
thelastog CreditAttribution: thelastog commentedWhere did you change the nolink span?
Comment #6
ChiKam CreditAttribution: ChiKam commentedIt is in the configuration of the special menu item module (admin/config/system/special_menu_items).
Replace "" under HTML tag for "nolink" with the one in #2. It should work!
It works great for me! Thanks,
Chi
Comment #7
arroyot24 CreditAttribution: arroyot24 commentedMy god! After almost a week looking for the correct code on CSS, the solution is #2!!! Using Drupal 6, a Zen variant theme and Nice Menus.
Thank you really very very much Antony! I love you ;-)
Comment #8
SalmanEagle CreditAttribution: SalmanEagle commentedSolution #2 works like a charm even in a not-so-famous theme (Biolife by Nood.org).
Comment #9
pricklypunter CreditAttribution: pricklypunter commentedI would just like to say a huge thank you to Antony, the solution works perfectly for me using Corporate Clean on D7.
Comment #10
Mojipei CreditAttribution: Mojipei commentedsolution #2 works works well, thanks. Now I have another issue, how can I highlight this parent item highlighted when a child item under it is selected (active)? Thanks in advance
Comment #11
jaesperanza CreditAttribution: jaesperanza commentedHad a similar issue using Zen subtheme + Nice Menus (a slightly modified version of base css of Nice Menus). Fixed using #2, but specifying a nolink class, then controlled other needs like padding, line-height by declaring a a.nolink class in my custom nice menu css. Example:
HTML tag for "nolink" ->
Comment #12
Leeteq CreditAttribution: Leeteq commented