Drupal 7 Bartik theme main menu

1.9k Views Asked by At

I am dabbling fresh with Drupal 7 and so far having little success with getting the Menu to behave the way I want it to. My CSS and PHP basics are strong, but understanding Drupal's system is in itself a huge challenge and hence my doubts.

For those acquainted with the Bartik theme, the main menu defaults itself in the header.

I am trying to create a floating/persistent menu that encapsulates the entire width of the website. But I am not sure where I need to go in and make the required changes.

One option I have is to remove the main menu from the Bartik header and then introduce the main menu block in the 'featured' region. Here the menu is rendering itself horizontally instead of vertically the way i want it to be.

Essentially the question is, How do I alter the main menu in the Bartik theme? Where do I need to get in and make changes.OH, and I have sub-themed it, just to let you know.

Thanks much !

Parijat

1

There are 1 best solutions below

4
On

I'm not sure I follow but it sounds like you need to create a new region to put the menu in. You add these in the themes .info file.

region[region_name] = Region name

Print the regions contents out in your themes page.tpl.php file.

Clear the cache and it will show up in the blocks page.

You can the style it how ever you want.