Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By canadrian on
I'm using Drupal 5 and the Garland theme. I would like to put a menu block in the footer of my site, and have the links display in a row rather than a column. Would anyone happen to know what code I should paste into my CSS file so that all ul
elements in the footer automatically display horizontally? I've been searching around the forums and looking at my CSS file but I'm pretty confused.
Comments
Put this code into your CSS,
Put this code into your CSS, but change #block-menu-27 to the actual ID of your block-menu
#block-menu-27 ul li{
list-style-type: none;
display:inline;
}
------------------
See DrupalGurus.com for Drupal tips and custom tutorials.
Not working
Thanks so much for the code! Sadly though, it doesn't seem to be working. If you like, you can look at my site at electricteaparty.net and see what's going on. The menu in question is at the bottom of every page, with Archives, Contact, and Drupal in it. Perhaps viewing the page source will shed some light on the matter?
So sorry to be such a mooch. I'm doing my best to learn the intricacies of CSS as quick as I can...
----------
"Being tired is like playing mind games with some of the pieces missing."
- Canadrian
I am a proud member of the ElectricTeaParty.net online community.