Jump to content

Linking to a specific SECTION of another page, using button

Recommended Posts

Site URL: https://accordion-jaguar-tztz.squarespace.com/config/

Hey,

I would like to use a button to link to a specific section of a different page on my site.

I tried adding #page-section-6287181646824c0fb5501e0e to Link Editor > Page on the button settings, but when I click it, it just loads the home page.

What I would like to do:

I would like to link to this specific section on my page;

PROJECTS > SHORTS > working with the GHFA

The page section I would like to link to looks like this:

image.thumb.png.2596a01af40831f72c9b1ba677f8cb38.png

The button "More about the GHFA" is located in PROJECTS > TRAILERS > Speedy Recovery section, which looks like this:

image.thumb.png.fdac199ebefcfaf47023c48f8df4f5b5.png

my site password: ost

Many thanks for your help!

Tomm

Link to comment
  • Replies 2
  • Views 272
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Quote

I tried adding #page-section-6287181646824c0fb5501e0e to Link Editor > Page on the button settings, but when I click it, it just loads the home page.

There is no such id on the page /projects/shorts. For the button URL try the following.

/projects/shorts#6287181646824c0fb5501e0e

Let us know how it goes.

Folks. If you page doesn't have an id that you can target, in the right place, it is possible to add one using a code block. In fact it may be prefered to using SS generated ids as your url fragments can be more descriptive/understandable.

So instead of the above you could have something like the following.

/projects/shorts#working-with-the-ghfa

There have been many post on this technique.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.