- This topic has 11 replies, 2 voices, and was last updated 7 years, 3 months ago by Tom.
-
AuthorPosts
-
January 24, 2017 at 3:30 pm #267816Jessica
I just updated GP and now my site’s sticky menu is broken and is thrown all the wya over to the left side, hiding half of the menu.
I tried 2 computers & 3 browsers and nothing is working. I disabled and reenabled the theme, same with plugins, but the only thing that changed is that I updated the GP theme.
I looked through my custom styles and nothing should be interfering with this.
https://jessicarosengard.com/Any ideas what’s causing this?
January 24, 2017 at 3:31 pm #267817TomLead DeveloperLead DeveloperCan you link me to the page please?
January 24, 2017 at 3:35 pm #267818JessicaSorry… i edited my first comment but you’re too fast for me:
https://jessicarosengard.com/January 24, 2017 at 3:39 pm #267822TomLead DeveloperLead DeveloperThanks for reporting this. For now, can you just set your navigation width to full in Customize > Layout > Primary Navigation?
January 24, 2017 at 3:47 pm #267826Jessicathat worked but the “icon” logo for the sticky menu is teeeeeeeny-tiiiiiiny unless I change the styles and make it bigger. The native/original size of that icon is 40x40px and it’s showing at about 2-5px… :/
January 24, 2017 at 3:50 pm #267829TomLead DeveloperLead DeveloperHmm I don’t believe anything there changed from the last version. The problem there is the height of the navigation logo takes the height of the menu and minuses 20px from it so we can add 10px on top and bottom (as seen in the navigation on this site right now).
You can adjust the size of your navigation logo with some CSS:
.main-navigation .navigation-logo img { height: 20px; } .main-navigation .navigation-logo { padding-top: 3px; }
January 24, 2017 at 3:51 pm #267830JessicaI just purged my server cache but it wasn’t until I added an extra style to my style.css that it showed the normal size.
January 24, 2017 at 3:52 pm #267832JessicaI did what you said but it seems that by default the logo will be only about 3px in size unless you override it. The image I used it WAY bigger than that.
January 24, 2017 at 3:53 pm #267835JessicaAlso… this refers to the sticky nav logo… the regular site logo I also had to adjust to make less massive. They have the opposite effects (for both states)
January 24, 2017 at 3:58 pm #267837TomLead DeveloperLead DeveloperThe navigation logo isn’t really built for very skinny navigations. There needs to be room for the logo to breathe a bit.
By default, the navigation height is 60px.
So, we resize the logo to 40px – that way we can put 10px of padding on top of the logo, and it will be centered in the navigation bar.
Now if your navigation is 30px tall, your logo will be 10px tall so we can add that padding. This is the issue your having.
There’s definitely some room for improvement there on my side, although you could probably up your navigation height a little and it would still look awesome.
January 24, 2017 at 4:08 pm #267842JessicaAh! Got it and tweaked. All seems good now. Thanks!!!!
January 24, 2017 at 4:09 pm #267843TomLead DeveloperLead DeveloperNo problem – thanks for reporting that bug! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.