Hello, I'm tryin' to edit the css of porimary links but not workin properly. Wich are the classes of the primary links? Ara these correct for the 1st menu item? Thank's!
#primary a.menu-1-2-2 { height: 31px; border: 0px; display: block; background-image: url(images/menu-cat.png); background-position-x: -103px; width: 167px; }
#primary a:hover.menu-1-2-2 { height: 31px; border: 0px; display: block; background-image: url(images/menu-cat.png); background-position-y: 32px; }
Pol Maresma PolNetwork.com / Serveis d'Internet msn: marolijo
On Wednesday 27 February 2008 3:03:47 am Marolijo - Pol maresma wrote:
Hello, I'm tryin' to edit the css of porimary links but not workin properly. Wich are the classes of the primary links? Ara these correct for the 1st menu item? Thank's!
That would depend a bit on the theme you are using. For Bluemarine, its "navlist" for primary and "subnavlist" for secondary. For Garland it's "primary-links" and "secondary-links". Install the Firbug [1] add-on for Firefox [2] and it will tell you everything you want to know.
#primary a.menu-1-2-2 {
That is the menu item itself, and not the entire set of primary links. It looks like you want "#primary" and "#secondary". Firebug [1] will also show you where and how the changes you are making are being applied.
[1] https://addons.mozilla.org/en-US/firefox/addon/1843 [2] http://www.mozilla.com/
Thank's!
I'm using Zen template and think I found the solution.
See you
-----Mensaje original----- De: support-bounces@drupal.org [mailto:support-bounces@drupal.org] En nombre de Jason Flatt Enviado el: dimecres, 27 / febrer / 2008 15:05 Para: support@drupal.org Asunto: Re: [support] CSS of Primay lnks
On Wednesday 27 February 2008 3:03:47 am Marolijo - Pol maresma wrote:
Hello, I'm tryin' to edit the css of porimary links but not workin properly. Wich are the classes of the primary links? Ara these correct for the 1st menu item? Thank's!
That would depend a bit on the theme you are using. For Bluemarine, its "navlist" for primary and "subnavlist" for secondary. For Garland it's "primary-links" and "secondary-links". Install the Firbug [1] add-on for Firefox [2] and it will tell you everything you want to know.
#primary a.menu-1-2-2 {
That is the menu item itself, and not the entire set of primary links. It looks like you want "#primary" and "#secondary". Firebug [1] will also show you where and how the changes you are making are being applied.
[1] https://addons.mozilla.org/en-US/firefox/addon/1843 [2] http://www.mozilla.com/
-- Jason Flatt http://www.oadaeh.net/ Father of Six: http://www.flattfamily.com/ (Joseph, 15; Cramer, 13; Travis, 11; Angela; Harry, 7; and William, 2) Linux User: http://www.kubuntu.org/ Drupal Fanatic: http://drupal.org/ -- [ Drupal support list | http://lists.drupal.org/ ]
__________ Informacisn de NOD32, revisisn 2905 (20080227) __________
Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com