- This topic has 17 replies, 3 voices, and was last updated 3 years, 4 months ago by
Ying.
-
AuthorPosts
-
November 17, 2022 at 11:50 am #2420287
Roberto
Hi, a page is showing me a blank space between the last container (with a google maps embedded code) and the footer. I can’t figure out how to delete this blank space, and let the footer overlap the map.
Here’s the link to the page.
Thank you!November 17, 2022 at 11:56 am #2420296Ying
StaffCustomer SupportHi there,
The Container block has an 80px margin-top, that’s where the space coming from:
https://www.screencast.com/t/KAR6w4vh1KNovember 17, 2022 at 3:01 pm #2420493Roberto
Oh, thank you! Is there a way to let overlap the map and the footer? Because if I eliminate the 80px margin-top, a white stripe still remain.
Thanks again!
November 17, 2022 at 3:08 pm #2420502Ying
StaffCustomer SupportBecause if I eliminate the 80px margin-top, a white stripe still remain.
That’s the shape added to the container block of the footer.
If you don’t want that shape, simply remove it 🙂
https://docs.generateblocks.com/article/container-overview/#shapesNovember 17, 2022 at 4:26 pm #2420578Roberto
There is no way to make the white part of the shape transparent, right?
November 17, 2022 at 5:26 pm #2420631Ying
StaffCustomer SupportThere is no way to make the white part of the shape transparent, right?
No, if it’s transparent, then it doesn’t exist.
But you can try removing the shape and add this CSS:
.site-footer { clip-path: polygon(38% 0, 100% 60px, 100% 100%, 0 100%, 0 40px); }Then add a negative top margin to the container block, eg.
-60px.November 18, 2022 at 4:21 am #2421221Roberto
Thank you so much.
One last thing: how can you make the same polygon, but changing position (up and horizontally inverted)? I’m trying to do it in the same page, applying it to the gb-inside-container, but I can’t find the right code.
Thanks again.November 18, 2022 at 11:34 am #2422019Ying
StaffCustomer SupportHere’s a little tool to help you generate the desired
clip-pathCSS code:
https://bennettfeely.com/clippy/November 18, 2022 at 4:35 pm #2422271Roberto
Thank you. I’ve tried really hard, but I’m not an expert, and can’t figure out what’s the right code. I ‘ve found the right selector, and tried to replicate the shape inside the tool, starting from your code, but what I came up it’s not working.
Can you, please help me? Just a little bit more…
November 19, 2022 at 12:46 pm #2423317Ying
StaffCustomer SupportOne last thing: how can you make the same polygon, but changing position (up and horizontally inverted)? I
I’m actually not sure what you mean by up and horizontally inverted, can you explain some more or a mockup?
November 20, 2022 at 3:37 am #2423787Roberto
You’re right, sorry. Here’s a
. The polygon I wish to make is the dark-grey one.
Thanks a lot!November 20, 2022 at 1:45 pm #2424519Ying
StaffCustomer SupportTry this:
clip-path: polygon(70% 8%, 100% 0, 100% 100%, 0 100%, 0 0);And I got the code like this:
https://www.screencast.com/t/e2DVOTA97jNovember 20, 2022 at 4:44 pm #2424625Roberto
Thanks. Unfortunately the code is not the right one, as you can see here:

Maybe I need some other css code or I choose the wrong selector?Thanks again!
November 20, 2022 at 6:22 pm #2424679Fernando Customer Support
Hi Giacomo,
The code provided by Ying is for the Footer. It appears to be working viewing your site from my end: https://share.getcloudapp.com/jkuOrYON
To clarify, are you also wanting assistance with the Header?
November 22, 2022 at 3:19 pm #2428020Roberto
Hi Fernando,
yes, the first code provided for the footer by Ying worked perfectly. That’s why I was asking the same code but for the header. I’m really sorry, I was thinking it was clear, but actually I never named the header before.
Can you provide the code for the header, please?
Thanks a lot! -
AuthorPosts
- You must be logged in to reply to this topic.