Home › Forums › Support › GP Site Lib – Landing – Site Footer: blue shape as (c) text background image
- This topic has 15 replies, 2 voices, and was last updated 3 years, 3 months ago by
Leo.
-
AuthorPosts
-
January 31, 2023 at 6:58 am #2515486
wo
Hey all,
I am customizing the “Landing” theme, installed from the GP Site Library. It`s got this blue V shape as SVG. I want this shape to be the background image of my GP Element Site Footer.
In the foreground, a simple paragraph is required, consisting of (c) and the usual suspect links.
Whatever I tried, I could not manage to
– make the text line visible, above the blue background
– let the shape use the entire width
– without any gap to the bottomPlease help me out, step by step.
The site under construction is this.
Thank you so much in advance
WolframJanuary 31, 2023 at 11:00 am #2515986Leo
StaffCustomer SupportHi there,
It’s a bit difficult to visually what you are trying to achieve.
Have you considered using the Shape option instead of a background image for that blue shape?
https://docs.generateblocks.com/article/container-overview/#shapesJanuary 31, 2023 at 12:52 pm #2516181wo
The intended visual experience is exactly the same as the original GP Site Library “Landing”. It’s about a white copyright text line over this purple shape.
I noticed on accident, the “Landing” shape is linked to GP Home. So I downloaded it to my media library and link it from there. Should not make any difference.
My problem is the interdependance of several settings all over the place.
This shape is SVG. I want it to cover the entire browser window, from left to right, sticking to the bottom line.
I want it to be in background, in order to have the copyright text / link line visible, in front of this background, as can be seen in the GP Site Library Demo of your theme “Landing”.
January 31, 2023 at 1:01 pm #2516199Leo
StaffCustomer SupportSo you are just trying to replicate the original Landing?
If so the SVG shape is added to the last container on the home page:
https://www.screencast.com/t/EU1EAlVrYDAnd here are the original settings:
https://www.screencast.com/t/H8KvD7c4January 31, 2023 at 1:42 pm #2516260wo
Yes. If you will, it’s just a replication. As far as I remember, the original has no site footer. And the shape is not properly set for responsiveness.
Anyway, this is what I get, on the Container > Shape route:
January 31, 2023 at 1:47 pm #2516267Leo
StaffCustomer SupportI’m not seeing this in your live site – I need to inspect the code to provide a suggestion.
Can you confirm?
January 31, 2023 at 2:02 pm #2516293wo
Ok. Now it’s live again.
January 31, 2023 at 3:47 pm #2516393Leo
StaffCustomer SupportJust to confirm, you are using a block element site footer right?
If so I don’t believe you need two containers for this.
Try this structure with the Inner z-index of the container set to 2:
https://www.screencast.com/t/pHH2suBtKCOrFebruary 1, 2023 at 12:59 am #2516664wo
Thank you.
Yes. It’s about setting a block element as site footer.
The structure you suggested works indeed. At least, we are back to a working z-index. My problem is: I’d like to keep the original shape, that’s incorporated with your “Landing” theme. This is not included in the standard shape collection, GP (or GB?) provides.
As a strict believer in SVG, I think, it doesnt matter if I use standard SVG or custom. But when I am assigning the custom shape as the background image, I lose access to z-index.
I am sure, there is a CSS workaround, for which I’m too stupid to invent.
Here are two screenshots of my last results:
And here is the link to download the custom shape (copied from GP Site Lib Landing theme)
February 1, 2023 at 9:24 am #2517293Leo
StaffCustomer SupportDid you get it to work using the background image?
This is what I’m seeing now:
https://www.screencast.com/t/UC2H1aD1i6February 1, 2023 at 9:40 am #2517317wo
Fresh-minded, I gave it another try et voilà!
Somehow the intended z-index is accepted for the background svg as well (do you guys have a secret backdoor? :))
This CSS helps:
/* FOOTER (C) LINKS */
.footer-copyright-links {
margin-top: 14rem;
margin-bottom: 0.5rem;
text-align: center;
}.footer-copyright-links, .footer-copyright-links a{
color: #fff ;
}.footer-copyright-links a:hover {
color: #00a9ff;
}These margins are completely trial and error. Seem to work, except if the user decides to zoom out some steps.
Do you know – finally – what I could do to stick this copyright line to the bottom of the screen, having a responsively constant margin, even when the user is zooming out for some secret reasons?
Anyhow, thanks for your patience!
February 1, 2023 at 12:22 pm #2517510Leo
StaffCustomer Supportwhat I could do to stick this copyright line to the bottom of the screen
I checked a few responsive views and the copyright is always at the bottom of the screen from what I can see.
Is there a specific width that you are seeing this issue?
February 1, 2023 at 12:55 pm #2517550wo
On Firefox, Zoom in 100 – 500 % is ok. Zoom out 100 – 80 % is ok as well.
But then zooming out 67 %, the bottom text line jumps up. Zooming out 33 %, no text line is visible anymore. It’s white on white.
On Chrome, same story. Kind of weird. But practically not super important.
Do you anyway have an idea, what I could do to enjoy my perfectionism?
If not, no problem. I am already considering this topic as solved.
February 1, 2023 at 5:08 pm #2517742Leo
StaffCustomer SupportZoom is very difficult to deal with unfortunately 🙂
February 2, 2023 at 12:53 am #2518142wo
As said, for now, I’m very happy with the solution. Thanks again for your support. Until next 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.