When the user resize the window the menu go to bottom, but we need that there go to top.

how can make that?

Comments

lil.destro’s picture

Basic uses a "content first" layout which outputs the content area above the sidebars. When viewed in smaller browsers the sidebars collapse into the order that they are printed on the page. In order to have the page collapse with the sidebars above the content you will need to edit the layout of the page.tpl.php. the "sidebar_first" and "sidebar_second" will need to appear above .

Alternatively you can use CSS and @media queries to hide and show a duplicate menu placed above the content area based on browser size.

CatherineOmega’s picture

If you want to get really "clever", you can use display:table-header-group to do this: http://tanalin.com/en/articles/css-block-order/

However, even that page notes that your legacy support will suck if you rely on this.

(You should use lil.destro's approach. Don't be clever.)

SteveK’s picture

Status: Active » Closed (works as designed)

This is no longer applicable in newer versions of Basic.