- This topic has 9 replies, 2 voices, and was last updated 5 years, 5 months ago by
David.
-
AuthorPosts
-
June 18, 2018 at 2:46 pm #603037
Mia
Hi there, I’m trying to figure out if there’s a way to get one of my buttons on the Home page to link to a *specific section* of a separate page. I am using BeaverBuilder, and can easily get the button to link to the other page, but there isn’t an option to link to a specific part.
Now, I know that this can be done with HTML pretty easily, and that’s fine, but I’m really trying to avoid making a child theme, and have done much of my customization thus far with the Simple CSS plugin, and that’s worked great. I don’t think there’s an HTML equivalent of that, so I’m hoping there’s an easier option that I’m just not seeing?
Thanks!
June 18, 2018 at 8:25 pm #603157Tom
Lead DeveloperLead DeveloperHi Mia,
If you can give the section you want to link to an ID, then you can link to it like this:
<a href="https://yoursite.com/#your-section-id">Link to an ID</a>Let me know if this helps or not 🙂
June 19, 2018 at 10:12 am #603769Mia
Hi Tom,
Thanks for the quick answer (and love the little one in your picture!)
So I’ve given the sections proper IDs, but I’m not sure where to include this snippet of HTML. I’m using BeaverBuilder and am trying to add the functionality to an icon, so my options are a bit limited. I have the ability to link by URL, Lightbox, Photo File and Photo Page. None of those seems to allow for the addition oh HTML, so I’m a little stumped on where to put this thing.
Thank you!
June 19, 2018 at 2:30 pm #603917David
StaffCustomer SupportHi Mia
Just link the button to URL and add like so:
https://yoursite.com/#your-section-idJune 20, 2018 at 10:03 am #604567Mia
Thank you, this did the trick!
June 20, 2018 at 4:23 pm #604776David
StaffCustomer SupportGlad to be of help
October 27, 2020 at 2:03 am #1505822Gerva
Good morning to all.
The technique works, but what if I want to have a space from the top?
The problem is that the section title appears half under the top menu, so I would need 40/50px from the top page.
Is it possible?Thanks a lot
October 27, 2020 at 4:33 am #1505981David
StaffCustomer SupportHi there,
could you raise a new topic and share a link to your site where we can see the issue – as there are a few ways to resolve that.
October 27, 2020 at 5:43 am #1506058Gerva
Yes excuse me.
October 27, 2020 at 7:28 am #1506191David
StaffCustomer SupportNo problem – thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.