Archived topic
How to add sticky text on the right of navigation
7 replies · Started by Chris on October 27, 2018
Hello I want to add a phone number (text) inline and after the navigation menu. I have aligned the navigation menu to the left, right after the logo image and I want to add a phone number to the right side of the menu line. Is there a way to do this?
( Example website where the "get started" button is )
Thank you
Hi Chris,
You can give your menu item these classes: menu-item-float-right menu-item-align-right
You can see how to add classes here: https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes
Hi Tom, sorry about my english. I am not after just a menu item aligned right but an html plain text or text widget separated from the menu items which are left aligned and this I want it to be aligned right. You can see a picture here
Thank you
Hi I followed your approach making it a dummy menu item but I cannot align it to the right of the page although I have applied the above classes Please take a look http://www.careincrete.com Thanks
Can you try using this method for the header/navigation?
https://docs.generatepress.com/article/navigation-logo/#navigation-as-header
It should work and look better.
Let me know :)
It looks better now Thank you for your support
No problem :)