Hi, there are three issue:
1.Long site name or top menu not display complete if browser window smaller.
2.How to remove logo and site name :hover style?
i removed logo and site name :hover style by create my own page.tpl.php now.
2.how to put user menu to header?
when user not login, show button link to /user, when user login, show dropdown menu.
3. Notice: Undefined index: class in semanticui_preprocess_item_list() (line 12 of semanticui/preprocess/item_list.preprocess.inc).

Comments

dzy created an issue. See original summary.

dzy’s picture

Issue summary: View changes
dzy’s picture

updated issue information.

dzy’s picture

Issue summary: View changes
dzy’s picture

I added dropdown menu to page.tpl.php, the menu html copy from semantic-ui.com still not working.

Kostya19’s picture

3. I did the commit supplementing the previous commit that caused the notice. Added checking the 'class' property in the item list preprocess.

Kostya19’s picture

2. You need to make menu, where an item is displayed depending on whether the user is authorized (override an item menu functions or search module for this) and set this menu as "Source for the Main links" in menu settings /admin/structure/menu/settings
To make dropdown menu read what I wrote here: https://www.drupal.org/node/2501409#comment-10452379

Kostya19’s picture

1. On mobile screens the header and the right top menu look bad. The menu should be move down left and the title text should be with line break.
To make the main top menu move down left on mobile screens, you need to make a custom layout, custom CSS with use media query.
To make the title text with line break you should set style property for this item: flex: 0 1 auto;
Question: Should we do it in the base theme, or should do it in the subthemes?

Also you can use stachable class with any horizontal menu (http://semantic-ui.com/collections/menu.html#stackable)
To add class to menu should to override theme_menu_tree in subtheme.