- This topic has 25 replies, 3 voices, and was last updated 3 years, 10 months ago by Leo.
-
AuthorPosts
-
June 21, 2020 at 2:40 am #1336073Stephen
Hi Leo,
There are several things about this website that don’t match what I’m looking for.
First, I would like the content text to align with the nav bar and footer rather than the container.
Secondly, something to notice as well is that this gpsites.co website goes out of line too! At a certain browser size, the logo on the nav bar and the left footer text go out of line with the content container (I would include a screenshot but not sure I can).
Thirdly, I would like the logo and footer elements on my site to have more padding from the edge than on this example site. (see my other website – https://www.cleardesign.studio/about/ as an example of the padding I would like and how I would like it all to line up. The nav bar, footer and content never go out of line on this site.).I hope this helps provide some clarity. Thanks for your help.
June 21, 2020 at 10:59 am #1336545LeoStaffCustomer SupportAny chance you can remove your own CSS first and try my solution?
There are several things going on here which is causing the misalignment.
So let’s try this:
– Disable Autopimize
– Remove your own CSS.
– Use the page builder container setting as you are using Elementor:
https://docs.generatepress.com/article/page-builder-container/When a page builder is used, the best practice is to remove all the theme’s padding and let the page builder handles all the padding requirements.
– Set the footer widget padding to all be the same:
https://docs.generatepress.com/article/footer-padding/When the above steps are done, this should be the result:
https://www.screencast.com/t/Ls6ZiGb9gYou can see that the theme elements (header/footer) are aligned and the content is still a bit misliagned due to the Elementor padding:
https://www.screencast.com/t/uCaUBTUw9JIf you remove the left padding from that image, then everything should align on the desktop view. Then we can work on the next step.
June 21, 2020 at 11:03 am #1336549TomLead DeveloperLead DeveloperScreenshots may help make things more clear if the above doesn’t do it. If you take a screenshot of the issue and save it to your computer, you can upload it to your website to get the File URL or upload it to a site like this: https://postimages.org/
Then you can share the URL with us 🙂
June 22, 2020 at 12:57 am #1336980StephenHi Tom and Leo,
This still doesn’t solve my issue because when you’ve done all the steps above, the nav bar doesn’t align properly on smaller screens (e.g. laptops).
Screenshot shown below is what it looks like on laptops. The logo on the nav bar is too far on the left. The footer bar also needs more padding.
https://postimg.cc/vDH6HrcDI just want it exactly like it is on https://www.cleardesign.studio/about/. Everything perfectly lines up on all display sizes and is padded so the logo on the nav bar is never up against the side of the screen. Only issue is I set the footer width set to contained on this site and I don’t want to do that on the IN8 Active website. I’m almost certain it will require custom CSS for the nav bar and footer bar.
Thanks again for your ongoing support. Hoping we reach a solution!
June 22, 2020 at 8:54 am #1337675LeoStaffCustomer SupportI just checked the site and still not seeing the steps being done.
Can we start with that first so I can see the issue and provide the CSS from a clean slate?
Thank you.
June 23, 2020 at 2:19 am #1338386StephenI have updated it now as you have asked. Is it possible to give you a temporary WP login? Perhaps this would make things a bit more efficient?
June 23, 2020 at 9:15 am #1339032LeoStaffCustomer SupportWe can’t make the changes for you unfortunately.
So let’s start with desktop alignment first. Looks like the header and footer are aligned but you also want the content to align correct?
If so that’s because you missed a couple of steps here:
https://generatepress.com/forums/topic/woocommerce-page-container-moving-over-to-the-left-on-large-displays/page/2/#post-1336545Please make sure
– Use the page builder container setting as you are using Elementor:
https://docs.generatepress.com/article/page-builder-container/When a page builder is used, the best practice is to remove all the theme’s padding and let the page builder handles all the padding requirements.
and
You can see that the theme elements (header/footer) are aligned and the content is still a bit misligned due to the Elementor padding:
https://www.screencast.com/t/uCaUBTUw9JIf you remove the left padding from that image, then everything should align on the desktop view
Let me know if that works.
June 23, 2020 at 2:29 pm #1339420StephenHi Leo,
Great, I apologise I have done that now.
Only issue now is that, when the browser width is reduced, the logo on the nav bar still gets pushed to the far left side of the screen, and now the main content does too.
https://in8active.com/Also, some pages don’t use Elementor (e.g. WooCommerce pages) and these now look pretty terrible too due to the lack of padding – https://in8active.com/product-category/men/
It still doesn’t work as nicely as the padding on https://www.cleardesign.studio/
Thanks again,
S
June 23, 2020 at 7:00 pm #1339597LeoStaffCustomer SupportYup – the whole point of this is to take one step at the time.
Next, add this CSS below:
@media (max-width: 1610px) { #site-navigation .navigation-branding, #sticky-navigation .navigation-branding { margin-left: 50px; } } .site-logo.mobile-header-logo { margin-left: 50px; }
That should align the header and footer nicely. You will need to configure the content padding with Elementor so it aligns with GP’s header and footer.
Let me know how this works out.
June 24, 2020 at 5:12 am #1340047StephenThanks Leo,
I’m pretty happy with how it looks now.
Elementor (free version) doesn’t allow me to set content padding in a way that works so I’ve resorted to using the GeneratePress settings instead.I’m going to mark this as complete now, thanks for your help. I think this is something that lots of other users are likely to want so it would be great if there was an easier way to achieve it. Unless its just me!
June 24, 2020 at 9:20 am #1340470LeoStaffCustomer SupportNo problem 🙂
I really can’t recall seeing other requests for this so some manual tweaking is needed for now.
-
AuthorPosts
- You must be logged in to reply to this topic.