WebSite X5Help Center

 
John S.
John S.
User

Image or logo in hamburger menu  en

Автор: John S.
Просмотрено 2328, Подписчики 1, Размещенный 0  

I suggest that it should be possible to specify an image as background for the hamburger menu

Example here : http://eksempelsite.dk/sparta02/

Try clicking the flag icon

You should then see an image in the bottom of the hamburger menu.

Try go to bottom of page and click on the hamburger here : 

You should then see an image ( logo ).

This is made with css styling like this :

#divid .classname

Important - it is NOT like this

#divid.classname

I think it would be a good thing if users could ( as standard ) specify an image in the settings for the menu-object.

Размещено
2 Ответы
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

...good idea; ... for those who want to do it now, it is possible with EXTRA code in the Expert panel...

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
John S.
John S.
User
Автор

The example is made with just putting a couple of lines in the css-tab in a html-object.

Just use the syntax shown.

So - it is rather easy to make, but for those that do not want to use extra code ( no matter how much ), and also for others ( as it will be  easier ) , then it should be a setting in the menu object.

Читать больше
Размещено От John S.