2

I'm using a Zen sub theme, and I've placed the main menu block into the header.

I would like to place the links to the right of the site name, but they only sit underneath. I've tried playing with the CSS styles that control the menu block, without success.

Is there a special trick of Zen's quirk I'm missing?

1
  • 1
    There is nothing about Zen that would keep you from accomplishing this task with CSS. If you post the actual CSS you are attempting to use, someone may be able to find the flaw in your approach.
    – sheena_d
    Dec 16, 2011 at 6:31

1 Answer 1

-1

I am new to coding so anyone should feel free to correct are add to this.

Your theme is placing the content on a page using a file called page.tpl.php. It may be found in your subtheme folder or in the parent them folder. This file is responsible for assembling the HTML code that actually displays your page. The file is a text file and is easy to open and edit (not as easy to understand if you are not familiar with HTML and PHP. I am using Fusion themes, so there may be some difference, but if you search for 'menu' you will find the part of the template that generates the menu. There you will probably find a HTML command to 'clear' or a Class definition that will include the clear command. This command is telling the browser to push further content in the region, such as your block, to the next row. To change this you will need to make an override page.tpl.php file (copy the parent theme file into your subtheme directory and remove the command. If the command is in the CSS file, you will have to alter the CSS file containing the class definition.

I do not recommend doing this if you are not yet familiar with coding in Drupal (do a bit of research first). Good luck.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.