Site logo

Archived topic

Mobile secondary menu without click on menu label

6 replies · Started by Roy on October 16, 2017

Viewing posts 1–7 of 7

Hi,
I'm using the secondary menu for polylang switching language feature.
I wan't that the two flags will be shown above the logo in mobile, without clicking the "menu" label.

I tried to follow this issue without success: https://generatepress.com/forums/topic/secondary-navigation-on-mobile-question/#post-120014.

I think there is 2 options:
1. show the menu links without clicking on menu label (like the desktop version)
2. If it's possible - put the language switcher widget in a header hook.

Thanks!

I think you misseda dot before the align right ( .alignright ).

The code affects both languages. The English version now is good, but the Hebrew not.
How can I define the code to affect only the English version?

I fixed it with this code:

@media (max-width: 768px) {
    .rtl .alignright {
        float: left;
    }
	.alignright {
		float: right;
}
}

is it ok?

Yup that's perfect :)

This archived topic is closed to new replies.