- This topic has 14 replies, 4 voices, and was last updated 8 years, 7 months ago by
Luís.
-
AuthorPosts
-
August 20, 2017 at 4:50 am #369764
Rafael
Hi there,
I am having some issues with the top padding when I include an elementor template and it doesn’t match with the logo and menu bar of generatepress.
I just want to solve the missing aligment of the logo with the main menu. And I don’t know why the green top part of the content is still appearing, when I am able to solve that in the bottom, right or left part with content padding values.
You can see all what I am taking to here:
https://www.useloom.com/share/7a5082c05c604fdda40ff30c6530e125
http://enthusiastic-gerenuk.w4.poopy.life/Any suggestions?
I will appreciate them.
Thanks
August 20, 2017 at 8:43 am #369852Leo
StaffCustomer SupportHi there,
For the logo I would recommend cropping it so there isn’t so much space at the top and bottom of the image.
Then Set your menu item height to the same number as the logo height:
https://docs.generatepress.com/article/menu-item-height-width/For the padding problem try using the page builder container: https://docs.generatepress.com/article/page-builder-container/
Let me know if this helps.
August 20, 2017 at 9:08 am #369876Rafael
Thanks Leo,
You were right regarding the logo, it was 200×150 px and thats why the items were not organized.
But that padding were not dissapearing. I tried to set the page builder container to full width but it just force all the sections to full width but didn’t solve the padding issue. You can see it here the result:
http://enthusiastic-gerenuk.w4.poopy.life/
Any other suggestion?
Thanks
August 20, 2017 at 9:20 am #369887Leo
StaffCustomer SupportI think what you need is Contained instead of full width.
August 20, 2017 at 9:38 am #369902Rafael
Hi Leo,
thanks again, but neither Contained or Full Width solve that padding :S its really strange
August 20, 2017 at 11:12 am #369945Tom
Lead DeveloperLead DeveloperCan you try adding this CSS?:
.one-container .inside-article>[class*=page-header-] { margin-bottom: 0; }August 20, 2017 at 11:37 am #369953Rafael
Hi Tom,
thanks for the try but it didn’t change that padding, look:
https://www.useloom.com/share/b2dcc64f00144cefad144b32e1f0347c?focus_title=1&muted=1Any other option I will try.
Thanks
August 20, 2017 at 3:00 pm #370019Leo
StaffCustomer SupportAny chance you can link us to the page?
August 20, 2017 at 3:57 pm #370041Rafael
Of course, here you are:
http://enthusiastic-gerenuk.w4.poopy.life/
If you want me to invite you as an admin just give me your email and I will create a new user for you to investigate within wordpress by yourself. I would appreciate it.
August 20, 2017 at 7:22 pm #370101Leo
StaffCustomer SupportTry this:
.entry-content { margin: 0; }August 21, 2017 at 3:03 am #370289Rafael
YES, YES, YES!!
Thanks Leo and Tom, you both are awesome!
Both css together works finally as it should be :))
So the solution is:
.one-container .inside-article>[class*=page-header-] {
margin-bottom: 0;
}.entry-content {
margin: 0;
}Thanks again guys!
August 21, 2017 at 8:28 am #370440Leo
StaffCustomer SupportGlad we could help!
September 3, 2017 at 3:18 pm #378518Luís
Hi Leo and Tom. I was searching for a solution for this behavior as well so thanks for this workaround. But out of curiosity, why the need for this code? I mean, why not just a Page Builder Container option to force all content area to be 100% full?
September 3, 2017 at 10:48 pm #378609Tom
Lead DeveloperLead DeveloperAn option to target all singular posts (pages, posts etc..) could happen. I usually just point to removing the content padding and upping the container width, but that increases the width of the header/footer as well.
September 4, 2017 at 4:50 am #378748Luís
Ok. Thanks Tom.
-
AuthorPosts
- You must be logged in to reply to this topic.