Archived topic
Add link to container
8 replies · Started by Gerva on March 11, 2023
Good day to all.
I read the two solution posts
Add link to container
Entire block clickable
But in no case did it work for me....
Now in the past I had used the suggested solutions and they had worked, I wonder if with the 1.7.x update of GP this is no longer possible?
The area of interest to me is on this page SiteTest, at the end, where I have placed a checkerboard container and the one furthest to the right with only TITLE written is what I acted on.
Thank you for your interest and possible support
Hi there,
Is either of the solution implemented currently?
I'm not seeing any custom classes linked-container or clickable-container at all.
Let me know :)
Thank you for your response.
No I actually entered the CSS code first in the CSS Customized panel, then I also did the test with a snippets, but nothing actually it doesn't show as you say.
I did a test by deleting .gb-inside-container and the CSS code shows up ???? but it doesn't work...
I don't understand what it could be.
I'll leave the version without .gb-inside-container online, maybe that will help
Thanks
Just to confirm, there are three steps in David's solution here:
https://generatepress.com/forums/topic/add-link-to-container/#post-2164581
I don't see step #1 being done at all. Can you make sure it is done first? Otherwise the CSS in step 3 won't do anything.
Hi
I believe and hope I have done everything indicated.
In fact, as I told you above, if I add in the CSS .gb-inside-container, the container appears without any CSS directive, as in the images above
See images




NB: Sorry but the server was down yesterday due to technical problems.
Thank you
Doing some tests on other site, I noticed something "strange"
If in the CSS class I put for example double "box-slow-container" - this creates some problems.
In fact during the test with other CSS code it was not seen, but as soon as I removed the double - and put only a - the desired effect worked.
Now I wonder what could be the cause !!!
Hi there,
add this to your CSS:
.linked-container .gb-headline {
position: static;
}
This will allow the link to expand outside of the headline, and attach itself to the container
Stunning ... you are great.
Your interventions are always much appreciated and full of "knowledge"
Thank you very much
Glad to be of help