- This topic has 14 replies, 3 voices, and was last updated 5 years ago by David.
-
AuthorPosts
-
April 25, 2019 at 3:06 am #878798hichb
Hello.
I hope you’re doing well?
I’m gathering some information for a project that would have these two features:
A Sticky Vertical Menu on the left that goes horizontally on mobile devices to make it responsive. Here’s the demo: https://pixelbin.com/
A vertical Scroll effect for each section built with Elementor such as this: https://conversion.com/
I’d like to know if this is doable using Elementor and GeneratePress?Thanks a lot for your help!
April 25, 2019 at 5:57 am #879015DavidStaffCustomer SupportHi there,
the Slideout Site in our library is similar to the first requirement:
https://generatepress.com/site-library/
With GP Premium 1.8 the slideout can now be converted to a full screen overlay.
The second requirement looks like its using fullpage.js
https://github.com/alvarotrigo/fullPage.js/#fullpagejs
I have seen other users use this with GP and Elementor.
April 25, 2019 at 11:41 am #879547hichbHi David,
Thanks a lot for your help!
That looks interesting and close to what I wish to achieve!
I was trying the Slideout Site as suggested from the Library, I can’t find a way to add the logo on the menu on the left.April 25, 2019 at 1:44 pm #879655hichbAlso, for this particular project, I want to display only the logo for the moment (no hamburger menu) since the website is only one page.
April 25, 2019 at 3:58 pm #879739TomLead DeveloperLead DeveloperHi there,
Any chance you can link us to your site with the logo added so we can see why it’s not working?
Let me know ๐
April 25, 2019 at 4:09 pm #879749hichbHey Tom!
Yes, sure here’s the link to the testing site: http://gsolution.co/
I added the Logo as usual through customize > site identity
Thank you ๐April 25, 2019 at 4:33 pm #879773TomLead DeveloperLead DeveloperHmm, yea – it’s not built for that by default. Would you like the logo before or after the menu icon?
April 25, 2019 at 4:39 pm #879776hichbI’d like the logo first and then if possible hide the hamburger menu since it’s going to be only one page. So no need of the hamburger menu.
April 25, 2019 at 4:50 pm #879782TomLead DeveloperLead DeveloperTo remove the menu you can disable the off canvas panel: https://docs.generatepress.com/article/off-canvas-panel-overview/
Then to add the image, you can:
1. Create a Hook Element: https://docs.generatepress.com/article/hooks-element-overview/
2. Set the hook toinside_navigation
3. Add this as your content:<div class="custom-logo"> <img src="URL TO YOUR IMAGE HERE" alt="" /> </div>
Then add this CSS:
.custom-logo { text-align: center; padding: 10px; }
April 26, 2019 at 4:09 am #880197hichbGreat! Almost there ๐
Been able to insert the logo but have a couple of problems:
1. Logo is not visible on Mobile Phone (still have the hamburger menu on mobile devices)
2. Logo is not clickable.
3. The social icons at the bottom of the bar for the desktop menu are no more positioned correctly.
Hereโs the link to the testing site to see how it looks: http://gsolution.co/
Many thanks!April 26, 2019 at 7:03 am #880474DavidStaffCustomer SupportHi there,
1. Customizer > Layout > Header – you can add an image for your Mobile Header Logo.
2. You would need to include the link in your custom logo HTML like so:<div class="site-logo"> <a href="URL TO HOME PAGE" rel="home"> <img src="URL TO YOUR IMAGE HERE" alt="" /> </a> </div>
3. In Customizer > Additional CSS look for this:
#site-navigation .main-nav > ul { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-height: 100vh; }
Change the
min-height: 100vh;
tomin-height: calc(100vh - 96px);
The 96px is the height of your current logo.
April 26, 2019 at 8:04 am #880559hichbThank you so much! The only thing left now is how to center the logo on the mobile menu.
Since I disabled/hided the hamburger button (I don’t need a menu it’s a one page site) the logo is on the left.April 26, 2019 at 8:12 am #880564DavidStaffCustomer SupportTry this CSS:
#mobile-header .menu-toggle { display: none; } .site-logo.mobile-header-logo { margin-left: auto; }
April 26, 2019 at 8:59 am #880605hichbFantastic!
Great support, many thanks. ๐April 26, 2019 at 9:04 am #880617DavidStaffCustomer SupportGlad we could be of help
-
AuthorPosts
- You must be logged in to reply to this topic.