Add a link on a section - Forum | JoomShaper
Awaiting an answer SP Page Builder

Add a link on a section

Asked by Stephane Hanrez 2 years ago Last activity 1 year ago

Hi,

Sorry for the maybe dumb question, but couldn't find it by myself.

How do I add a link on a section in SP PageBuilder (external link).

I could find ways to add a link to specific items (e.g. an image) but not on a complete section.

Thanks

15 replies

Rashida Rahman Staff

Hi there!

Thanks for reaching out. I'm not sute if I get you right. If you want to link the whole section, so that when you click on the section it redirect to your desired external link, then it is not possible, as there is no default option to achieve that.

If you want to link a section of the same page from your menu item or button , you may follow this:

  1. Give ROW/Section name in field: Section ID
    For example: testSectionName

Remember no # or space between, only "-" if you really need to

  1. In menu item > External URL type > #testSectionName

If you want to link a section of a different page, you have to try using the whole URL with http(s),

For example: https://domain-name.com/#testSectionName

Hope this helps!

Best Regards

Stephane Hanrez Asked this

Indeed, what I'm looking for is to link a full section so it redirects me to an external page. Or even link only a column would already be good but I couldn't find that either.

Would it be possible for you to add it as a feature request ? As I'm sure I'm not the first one who tries to achieve that and it shouldn't be very complicated to add.

Thanks
Stéphane

Rashida Rahman Staff

Hi Stéphane,

Sure! I will add it as a feature request definitely:)

Let's hope for the best!

Have a nice day!

Stephane Hanrez Asked this

Any news about this feature request ? Getting the need again for another website, pretty annoying not to be able to add a link to a section. Thanks

Rashida Rahman Staff

Hi,

I will follow up again about it. But is it possibe for you to give an example, please? It would be helpful.

Best Regards

Stephane Hanrez Asked this

Something like this :

I'm also using css to create a zoom in effect on the section, so having a link on the text box and on the image (which is what I currently do) is counter-intuitive to the user.

Rashida Rahman Staff

Hello,

If I get you right, you want to click on any part of the section/column to be able to move to an external link.

Yes, you can do this with your text in the textblock addon as you know already. And some addons also has linking options with image and button too.

But you want to do it as a whole, right?

Best Regards

Stephane Hanrez Asked this

Yes, indeed.

at the moment, I can add a link to the image and to the text elements, but :
1/ That means adding 2 different links which is prone to errors (or more if I need several text blocks).
2/ That means some parts of the block are not clickable which makes it counter-intuitive to the user.

When coding myself, I could add wrap an href around the div element so that it appears as one clickable block to the user. unfortunately, I cannot do this using SP PageBuilder.

Thanks

Rashida Rahman Staff

Hello,

Thanks for the explanation.

I will forward it with explanation.

Best Regards

Pavel
2 years ago · edited

Hi Stephane.

Add class to the section

Add Raw HTML Addon with link and class

Use CSS

.linking-section * {
    position: static;
}
.full-section-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}
Stephane Hanrez Asked this

Thanks Pavel... that's a good tip... what I simply did is that I added a raw html before my section with <a href ="#"> and then another raw html after the section with </a> and it works fine...

Anyway, that's more of a work-around than a real solution, I hope your dev team still can add the option to add a link directly at section level (but also on a row, or on a column).

Rashida Rahman Staff

Hi,

I have added this as a feature request already.

Thanks!

Log in to reply.