- This topic has 9 replies, 3 voices, and was last updated 6 years, 10 months ago by Leo.
-
AuthorPosts
-
May 31, 2017 at 9:44 am #326695Mathew
Hi,
When going from non-sticky to sticky, the logo on the sticky navigation changes to a small size (which is fine) and shift to the left. How do I make the sticky logo stay in the same position as site logo and only the logo size is changed?
Thanks!
May 31, 2017 at 9:48 am #326697LeoStaffCustomer SupportHi there,
Where is the logo set currently? Are you able to provide a link to your site? Thanks!
May 31, 2017 at 1:16 pm #326773TomLead DeveloperLead DeveloperIt’s likely that your header has padding, which pushing the logo to the right (as it should).
Your navigation doesn’t have the same padding, which is why there’s a change.
If you want it to be the exact same, I suggest just using your navigation as the header: https://docs.generatepress.com/article/navigation-logo/#navigation-as-header
May 31, 2017 at 6:22 pm #326878MathewUnfortunately, I don’t have a link to share yet as I am developing locally.
I was able to use my navigation as the header using the instruction provided. Thanks!
With that, how do I add buttons (e.g. social media icon, Contact Us, etc.) on the navigation?
I am using GP with Elementor.
May 31, 2017 at 6:27 pm #326879LeoStaffCustomer SupportFor icons you can use GP’s built in FontAwesome library: https://docs.generatepress.com/article/adding-icons-to-menu-items/
For buttons, this might help: https://docs.generatepress.com/article/adding-icons-to-menu-items/
Some other button CSS you can consider: https://docs.generatepress.com/article/adding-buttons/
June 11, 2017 at 8:11 pm #332197MathewI couldn’t find a place in GP Hook to add a button to both the Primary Navigation and Sticky Navigation sections. Can you please help?
For CSS of the button, I assume it will be added in Customized -> Additional CSS.
Thanks!
June 11, 2017 at 8:16 pm #332203LeoStaffCustomer SupportIf you want the header to be the same as sticky navigation, give this a shot:
https://docs.generatepress.com/article/navigation-logo/#navigation-as-headerAs for inserting button into navigation, try the this hook:
https://docs.generatepress.com/article/generate_inside_navigation/Yes CSS can go in Addtional CSS.
June 11, 2017 at 9:23 pm #332215MathewMy apology and sorry for the confusion, Leo. I meant to say I want to add a button next to my menu items (to the far right. For example…”About”, “Contact”, follow by the Button). Currently I use navigation as a header (sticky + station), and here are my settings:
Under Primary Navigation
Navigation Location = Below Header
Navigation Logo Placement = Sticky + StationI hide the header using the follow:
.site-header {
display: none;
}Thanks again.
June 11, 2017 at 10:04 pm #332221MathewI think I got it. I use added float right to the css and it works!
June 12, 2017 at 8:56 am #332454LeoStaffCustomer SupportGlad you figured out 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.