Archived topic
Short Code to adjust single nav box (fully to right)
3 replies · Started by muralidharan on April 9, 2017
Hi is there a way or a short code to adjust the primary navigation bar ( only one menu item ) highlighted in a box to the extreme right edge without a white space between the browser edges.
right now I have a contact box in color and it has a white space between the edge of the screen and the menu box
thanks
Hi there,
You should be able to use the menu-item-float-right class: https://docs.generatepress.com/article/adding-icons-to-menu-items/#floating-the-icon-to-the-right
If not can you provide a link to your site? Thanks!
Thanks Leo, what I am trying to achieve is the way gmail has achieved in their home page -
the menu i am referring to is CREATE AN ACCOUNT . https://www.google.com/gmail/about/
i would like to have it the same way for my CONTACT Menu. I did use a CSS Code in my website http://www.enrightpr.in for my CONTACT Menu but i find there is a white space between the edge of the screen and the button. I would also like to increase the width of the box not the height pls.
I must say while you scroll my website it seems ok as it goes to the right completely but on landing there is space.
thanks once again for your patience
I LOVE GENERATE PRESS :) and its SUPPORT:) its awesome always:)
Try setting the Header Width and Inner Header Width to Full:
https://docs.generatepress.com/article/header-layout/
Then you would get the exact same header as gmail.
Let me know.