By raff_1 on
Hi everybody I'm new in Drupal and the Drupal Community therefore apologize if this threat is at the wrong place and if my issue is a tritenesse.
My probleme is that I'm just creating my own theme. To be more exact I'm trieing to convert this stativ HTML site: http://int-group.de/netzwerktechnik.html into Drupal.
So far I've converted the converted the whole design including the main-nav bar at the top based on Bluemarine. And everything works.
But now I have problems in customing the menu style so that I get a subnav like on the current site. The main Problem is that I don't know how i get the menus horizontal.
I hope you could help me.
Thank you in advance.
Comments
Nice Menus
I like to use the Nice Menus module http://drupal.org/project/nice_menus. With this you can use CSS to style the menu fairly easily. Plus in the settings you can specify if you want the menu to be horizontal (down) or vertical (left/right).
thank you but
is it only possible to create drop down menus with that module or is it also possible to custom normal menus?
...
Use the $secondary_links menu and in the menu settings for secondary links select "Primary" as the source. Then create a hierarchical tree of links where each of the horizontal sub menus are children of a primary menu item (the parent), for example:
Portrait (primary links, the parent item, set it to expaneded!)
- INT-GmbH
- Stec-GmbH
- Mitarbeiter
- Zertifikate
Now what happens is that when you click on "Portrait" the child links will show in the secondary links below the primary, just like your comp.
Print the $secondary links under the primary links and style to suit, there should be enough classes to position the menus how you need, but if not you can always generate a conditional class and print it on a wrapper around the secondary links.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
does it matter
that the main navbar isn't a menu but a block with static html
Well yes it does, if you want
Well yes it does, if you want to keep it that way then you'll need to build in the dynamic features yourself or find some other way of achiving such as using separate menu blocks and a region.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.