- This topic has 12 replies, 3 voices, and was last updated 4 years, 7 months ago by
Leo.
-
AuthorPosts
-
August 20, 2021 at 6:41 pm #1903129
Matt
There is this white block below the header on the home page, I have no idea why. Need some help removing it. site is activedirectorypro.com
August 20, 2021 at 7:04 pm #1903139Ying
StaffCustomer SupportHi Matt,
That’s the top part of the site container.
If you want to remove this padding only on the home page, try this CSS:
.home.separate-containers .inside-article { padding-top: 0; }Let me know if this helps 🙂
August 20, 2021 at 7:12 pm #1903141Matt
Thank you that did it. Now there is a thin bar between the header and the larger section below it.
August 20, 2021 at 7:14 pm #1903143Ying
StaffCustomer SupportTry to add this CSS as well:
.home.separate-containers .site-main { margin-top: 0; }August 21, 2021 at 11:50 am #1903869Matt
I seem to have this issue on every page.
Here is another example.
https://activedirectorypro.com/ad-bulk-user-creation-tool/Will I need to put in custom css for every group I create to fix these?
August 21, 2021 at 11:52 am #1903873Matt
Am I doing something wrong to cause this? It seems odd that by just adding a group with two columns that there are these display issues.
August 21, 2021 at 11:53 am #1903874Leo
StaffCustomer SupportWould one container work better for you?
https://docs.generatepress.com/article/content-layout/August 21, 2021 at 12:02 pm #1903881Matt
Still has issues when I changed it.
Here is what I’m doing. I add a group, I change it to full width, change its background color to white and add content (header and some posts).
I just did this on my home page and there are two gray bars to the left and right (it seems like space between blocks)
August 21, 2021 at 12:14 pm #1903887Ying
StaffCustomer SupportCan you try setting the content container width to full width on those static pages where you use full-width block?
https://docs.generatepress.com/article/layout-metabox-overview/
Let me know if this helps 🙂
August 21, 2021 at 12:21 pm #1903891Matt
The content full width fixed it. Thank you
August 21, 2021 at 12:24 pm #1903897Leo
StaffCustomer SupportGlad to hear.
Just want to mention that you might want to use the container and columns block from GenerateBlocks to create the layout:
https://docs.generateblocks.com/article/container-overview/
https://docs.generateblocks.com/article/grid-overview/It’s much better than the align-full blocks and columns block from WordPress core 🙂
August 21, 2021 at 12:26 pm #1903900Matt
I tried GenerateBlocks but it crashed the page I used it on 🙁
August 21, 2021 at 12:27 pm #1903902Leo
StaffCustomer SupportIt definitely shouldn’t as my reply suggested here:
https://generatepress.com/forums/topic/add-one-icon/#post-1903856 -
AuthorPosts
- You must be logged in to reply to this topic.