(you wrote: add to < li > element class (this can be done in the Helix Mega Menu tab) Hide this item for mobile using CSS) This I dont know how to do. Should I add a class name in the Mega Menu tab, and then display a image through the CSS, like a background-image? would it be posible to just add the logo via the "Link Image" in the Link type menu?
Hi, Jesper. If you need one image, you can add it via "Link Image".
If you need two images (change when scrolling), then you should use the background image via CSS.
For example:
#sp-header .your_li_element_class {
/*some other properties*/
background-image: url(/images/before_scroll_img.png);
}
#sp-header.header-sticky .your_li_element_class {
/*some other properties*/
background-image: url(/images/after_scroll_img.png);
}
Question: If I need position for language selector, should that be a menu item also?
You can publish this module in Menu positions, and then configure via CSS with your menu to one line. Use Flex Box CSS in order to do it easily.