- This topic has 7 replies, 2 voices, and was last updated 4 months ago by Leo.
November 2, 2020 at 12:21 pm #1515150nik9
We want to float instagram and facebook to the left. But we do not have the Top bar option in the customizer and therefore no option to merge top bar with secondary navigation. Why?
But, acutally we only want to float these two icons to the left. How can we do this? If we use
left:for the icons, the whole content float to left.November 2, 2020 at 12:34 pm #1515166LeoStaffCustomer Support
But we do not have the Top bar option in the customizer and therefore no option to merge top bar with secondary navigation. Why?
The options are not showing as you don’t have any top bar widgets added.
You shouldn’t need to do that in this case though.
Can you set the secondary navigation to align left first? Then I’ll provide the CSS to make the Login link to the right:
https://docs.generatepress.com/article/secondary-navigation-layout/#navigation-alignmentNovember 2, 2020 at 12:42 pm #1515175nik9
Thanks. I changed the align to left. Now we need to float login link to left. But, we have different navigation nodes there when a user is logged in or not. So maybe I can then try to use your code and try do float the other nodes (when a user is logged in) to the right.
CheersNovember 2, 2020 at 12:57 pm #1515197LeoStaffCustomer SupportNovember 2, 2020 at 1:03 pm #1515202nik9
nope, insta and facebook on the left and every other stuff on the right side. 🙂November 2, 2020 at 1:06 pm #1515205LeoStaffCustomer Support
Ahh you are still using the float version as structure.
That case adding the
menu-item-float-rightclass to the Login menu item should work:
https://docs.generatepress.com/article/adding-icons-to-menu-items/#floating-the-icon-to-the-rightNovember 3, 2020 at 3:53 am #1515830nik9
perfect! 🙂November 3, 2020 at 8:46 am #1516436
- You must be logged in to reply to this topic.