Anchor link does not work

4 replies · opened Aug 5, 2019

Eevelynchua3Aug 5, 2019

Hi there,

I've been trying to figure out how to make the anchor links work. currently they all send me back to the top of the page. Here's my code for top part:

<div class="col-md-3 px-1">
[ class="card center border-left-0 border-right-0 border-top-0 border-bottom border-bottom shadow py-3 noradius t600 uppercase ls1">

Pricing

](#)
</div>

and then code for the anchor below:

<div id="section-pricing"></div>

Eevelynchua3Aug 5, 2019

sorry the code doesnt seem to display properly. here it is again:

<div class="col-md-3 px-1">


Pricing

</div>

Eevelynchua3Aug 5, 2019

eek sorry i'm not sure why copy and pasting the code does not show up well. one last time


[

										
Pricing
									

								
](#section-pricing)
							
SSemicolon WebSTAFFAug 5, 2019

Hello,

The data-href="#section-pricing" Attribute Functionality can currently only be used on the Links inside the .one-page-menu Element. Consider using data-scrollto="#section-pricing".

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Eevelynchua3Aug 6, 2019

Yes it does. Thank you so much!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard