- This topic has 24 replies, 2 voices, and was last updated 3 months, 3 weeks ago by
Leo.
-
AuthorPosts
-
November 2, 2020 at 1:47 pm #1515254
sparkle
hi, a while back i found some nice instructions to make a slideout navigation for my primary nav. i implemented it and it works great, and you guys helped me get the site title looking right, but now we’d like to use an image next to the hamburger — only on the main page (and enlarge the burger a bit). how would i do that? i tried this code from a support thread, but had no luck.
add_action( 'generate_inside_slideout_navigation', function() { ?> <div class="off-canvas-logo"> <a href="/"><img src="/wp-content/uploads/2020/10/CAsign.jpg" alt="" /></a> </div> <?php } );
fair warning, the logo is larger than necessary at the momment.
November 2, 2020 at 1:49 pm #1515257Leo
StaffCustomer SupportHi there,
Just to confirm, you are looking to replace Charon Arts text with a logo image?
Let me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 2, 2020 at 3:27 pm #1515319sparkle
yes. and only on the front page.
November 2, 2020 at 4:01 pm #1515355Leo
StaffCustomer SupportCan you add the logo under site identity first?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 2, 2020 at 4:22 pm #1515368sparkle
it is. https://imgur.com/PlK17Yr
November 2, 2020 at 4:25 pm #1515372Leo
StaffCustomer SupportAre you using this option here?
https://docs.generatepress.com/article/navigation-as-a-header/Or how are you removing the site header?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 2, 2020 at 4:31 pm #1515374sparkle
no, i think it’s this….. https://imgur.com/2qG7q5E
it worked so well i didn’t bother to book mark it.doing this was also part of the instructions…. and some css. https://imgur.com/d8aDzsJ
November 2, 2020 at 4:51 pm #1515378Leo
StaffCustomer SupportThose things should be unrelated to what I’m asking.
Can you check if this option is activated in the customizer?
https://docs.generatepress.com/article/navigation-as-a-header/If not, do you have any layout element created?
The entire site header in your site is missing.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 3, 2020 at 6:40 am #1516035sparkle
oh, sorry… yes, i looked. that is checked.
November 3, 2020 at 9:09 am #1516484Leo
StaffCustomer SupportI see the logo but it’s super small currently.
Have you changed the navigation breakpoint?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 3, 2020 at 11:09 am #1516634sparkle
where do you see it? the image should be in place of the CHARON ARTS in this screenshot.
i don’t believe i have changed the breakpoint.
this is the css i’ve got that is associated with it.
THANK YOU!
November 3, 2020 at 11:58 am #1516705sparkle
i haven’t done anything with GP Elements in this site to hide it…
November 3, 2020 at 12:00 pm #1516708Leo
StaffCustomer SupportCan you provide the dashboard login for me to take a quick look?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 3, 2020 at 12:05 pm #1516711sparkle
done.
November 3, 2020 at 12:19 pm #1516723Leo
StaffCustomer SupportCan you try increasing the menu item height?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.