- This topic has 25 replies, 5 voices, and was last updated 2 years, 2 months ago by Ying.
-
AuthorPosts
-
January 1, 2022 at 9:11 am #2065785Ravi Dixit
My logo is not decreasing its size rather nav menus go down to the logo(check here https://prnt.sc/25l5jtb). I want it should decrease its size instead of throwing the menus down from their place.
Is there any solution?
Also,
Why this scroll is showing at the bottom of the screen to move the screen horizontally(check this https://prnt.sc/25l5ppj), all the containers are having the 1100 px width. Please help in fixing this too… Also, the same white space at the bottom (after footer).Please help me in fixing these issues.
January 1, 2022 at 11:12 am #2065854LeoStaffCustomer SupportHi there,
Any chance you can link us to the site in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationLet me know ๐
January 1, 2022 at 11:46 am #2065875Ravi DixitI have shared the link of the site through the private field.
January 2, 2022 at 12:07 pm #2066693YingStaffCustomer Support1. The horizontal scroll is caused by using
alignfull
options, please deactivate that option.
If you want to create full width sections, set the page to full width, the outter container of the gb container block will automatically reach full width.2. To make the logo shrink try this CSS:
@media (min-width: 769px) { header#masthead .inside-header { display: flex; flex-wrap: nowrap; justify-content: space-between; } header#masthead .site-logo { max-width: 250px; flex: 0 4 250px; width: auto; align-items: center; display: flex; margin-right: auto; } .site-header .header-image { width: unset; } }
3. Can you make sure you are using Flexbox instead of Float? You can check at customizer > general. And please deactivate cache plugin so we can see the code better.
January 2, 2022 at 12:39 pm #2066726Ravi Dixit1. Can you explain it a bit? Where I can find this option? And all the containers are set to full width and inner containers have the same width size of 1100px.
2. I have applied the code but it is not working as I expected. I have opened the site on a new tab and started decreasing its size slowly, See how the navigation bar changes for different sizes:
1. https://prnt.sc/25qacq2
2. https://prnt.sc/25qaee9
3. https://prnt.sc/25qafs4
4. https://prnt.sc/25qahdrInstead of making the logo shrink as size decreases, I would highly prefer if the entire nav menus can covert into this https://prnt.sc/25qakr1 when nav menus touched the logo.
3. I have changed that to Float, but what will it do?
January 2, 2022 at 3:32 pm #2066836YingStaffCustomer Support1. When you select the container block, the alignment option will show, do NOT choose
Full width
.
https://www.screencast.com/t/Sa8lf0BHMGYou’ll need to set the page to full width, you can set it in the page editor > layout meta box: https://docs.generatepress.com/article/layout-metabox-overview/
2. Then set the mobile menu breaking point to a higher value, eg.
1085px
:https://docs.generatepress.com/article/primary-navigation-layout-overview/3. I meant if you are using float, change to Flexbox, not the other way around.
The gap is caused by the bottom margin of the lastp
element in the footer, Try this CSS:.site-footer p:last-child { margin-bottom: 0; }
January 2, 2022 at 4:04 pm #2066858Ravi DixitHey, Ying!
Thanks for your quick help, I fixed up all the issues.
1. I got a recommendation from your team to use the full-width option as I have a custom width CSS added for posts and pages. But the way you suggested worked.
It would be great if you can help me with one last thing, I have added the post grid using the GenerateBlocks plugin, I want to have a hover animated for the post grid. Can you help me with the CSS?
It would be great if I make the go a bit up on hover like these buttons (https://prnt.sc/25qyxoc) on the GeneratePres forum.
January 2, 2022 at 4:15 pm #2066865YingStaffCustomer SupportThanks for your quick help, I fixed up all the issues.
Glad to hear that ๐
For the new question, can you open a new topic and link us to the page in question?
I’ll be happy to help there!January 2, 2022 at 4:41 pm #2066874Ravi DixitEverything is working great except the sticky header, the nav menus align to centre on Sticky nav https://prnt.sc/25r3aen
January 2, 2022 at 5:01 pm #2066891YingStaffCustomer SupportAdd this CSS:
nav#sticky-navigation .site-logo { margin-right: auto; }
January 2, 2022 at 5:13 pm #2066900Ravi DixitWhy do I need to add additional CSS, it was working perfectly before?
January 2, 2022 at 5:24 pm #2066906YingStaffCustomer SupportI didn’t see how it was working before.
If it was working perfectly before, then remove the CSS which is added recently to see which one is causing it.
January 2, 2022 at 5:28 pm #2066911Ravi Dixitremoved now, please check
January 3, 2022 at 5:26 am #2067316DavidStaffCustomer SupportHi there,
can you first disable any cache plugins to make sure they are not interfering with the CSS that Ying provided.
January 3, 2022 at 5:36 am #2067331Ravi DixitCache plugin disabled, please proceed.
-
AuthorPosts
- You must be logged in to reply to this topic.