- This topic has 11 replies, 5 voices, and was last updated 3 years, 10 months ago by
David.
-
AuthorPosts
-
December 16, 2020 at 1:06 am #1582515
Sofie
Hi,
I refer to the site https://www.capeach.eu/test, where I’m trying out our new homepage.
You can see 4 blocks (online taalcoaching, vertalingen …). Is it possible to make an entire block clickable? I thought I read something about in on the forum, but I can’t find the topic back. I thought it would be a new option in the latest version of GP Premium, but I just installed it and I still can’t find it.
Each of the 4 blocks should link to another page.
Thank you very much for your reply. Do not hesitate to refer me to other pages if they do exist.
Kind regards,
SofieDecember 16, 2020 at 4:11 am #1582720David
StaffCustomer SupportHi there,
this will be a featured of GenerateBlocks Pro… in the meantime you need to add this CSS:
.gb-container.clickable-container .gb-inside-container { position: relative; } .gb-container.clickable-container a:before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 999; }Then you need to add a link inside the block, the simplest way is to highlight the Headline Block and give it a link.
Then select each of the Container Blocks and in Advanced > Additional CSS Class(es) add:
clickable-containerDecember 16, 2020 at 5:20 am #1582800Sofie
Wonderful, you rock 😉 Thank you very much.
Kind regards and have a nice day,
SofieDecember 16, 2020 at 5:21 am #1582801David
StaffCustomer SupportGlad to be of help
February 11, 2021 at 12:20 am #1653954Roberto Enrique
I’ve been reading many threads regarding the “clickable container” feature in GB Pro… but I can find it how regardless.
Where in the GB docs is the part related to this feature?Thanks in advance.
February 11, 2021 at 5:21 am #1654257David
StaffCustomer SupportHi Roberto,
We’re still in the process of updating the GB Docs.
You can find the link option in the Container Block Tool bar:https://www.screencast.com/t/dFvKl0y9fpjd
Can you raise any other GB related topics in the GB Support forums.
Or join our Community 🙂February 11, 2021 at 5:31 am #1654265Roberto Enrique
Thnks 🙂
Next time I’ll post over there.February 11, 2021 at 6:53 am #1654537David
StaffCustomer SupportYou’re welcome 🙂 Be good to see you in the Community!
March 9, 2022 at 5:29 am #2147959Katerina Teresidi
Dear David,
Thank you for the CSS solution, it works good.
Is there a possibility to implement a link hover effect over the whole container too?
Thank you very much!March 9, 2022 at 10:33 am #2148549David
StaffCustomer SupportHi there,
its an option built into GenerateBlocks Pro – called Effects:
https://docs.generateblocks.com/article/effects-overview/
If you’re not a Pro user then start a new topic and share a link to your site and we can take a look
May 19, 2022 at 6:44 am #2225411Matthias
Just searched for the same thing.
works like a charm – thx.May 19, 2022 at 7:31 am #2225461David
StaffCustomer SupportGlad to hear that!
-
AuthorPosts
- You must be logged in to reply to this topic.