Archived topic
Sticky logo not showing
11 replies · Started by Edwin on September 27, 2016
Hi
Sticky logo is not showing in my website, but is enabled under Customizing/Primary Navigation/Sticky Navigation Logo Position /Sticky Only.
What to do?
Thanks
Edwin
Hi there,
So the navigation logo is enabled and you've uploaded an image?
Can you link me to the page?
Hi there,
It seems a username and password is required to view the site.
Just off to bed (almost midnight here), but I'll check back first thing in the morning.
Thanks!
Please try now. Also I found that child theme is not working
I created a child theme and copied files to the child theme, but when i make changes the files it is not showing in the website. When i change it in the main theme it showing in the website.
Child theme is activated under appearance/themes
Thanks
Edwin
Interesting, the height of the image is set to "0" for some reason.
Looking at the code I see no reason for this.
Can you try #1 on this page?: https://generatepress.com/knowledgebase/debugging/
As for your child theme, nothing should be taken from the parent theme and put into your child theme. It should only contain your custom code.
Here's a blank child theme for you to start with: https://generatepress.com/forums/topic/how-to-install-a-child-theme/#post-198913
Hi Tom
Found the problem.
This plugin was causing it: http://speedupwpsite.com/
I fixed it by adding to the custom css:
.main-navigation .sticky-logo, .main-navigation .sticky-logo img{
height:40px;
}
Regarding the Child theme.
I am using the navigation page to insert social buttons next to the menu. I couldn't find anyway to insert it the hooks.
PS: I think your Theme is fantastic and perfect for someone like me that can build any client website based on your theme. It is saving me a lot of time and money :-)
Thanks
Edwin
Glad you're liking the theme!
Using the menu system to add social icons is definitely the best method :) https://generatepress.com/knowledgebase/menu-social-icons/
Hi Tom,
I am using GP Theme version 2 and GP Premium Plugin Version 1.5.6 on my site at https://vjdesign.com.au
Whilst the menu sticks and its links display when scrolling, the logo fails to show.
I am using SVG logo and set up sticky nav for Desktop Only with Fade effect and 64px menu height.
I have added the same svg logo for mobile header logo, and disabled sticky mobile header.
Is the navigation logo set to Sticky + Static?: https://docs.generatepress.com/article/navigation-logo/
Awesome, that did the trick. And you responded with minutes. Thank you very much.
You're very welcome :)