header behavior

Hi,

I set the header so it can redirect to each part of the home page,

currently working well.

The small problem occur when i move to other page from “Services”.

when I pick one of my services, and inside the page, clicking on the header wont send me anywhere.

Is it possible to redirect to the home page to the exact section selected? (same behavior as homepage)

Warm regards.

https://wmqgez-r2.myshopify.com/

  1. first pick a service from home page

2.Then try to use the header’s subjects.

Hi @Artez

I think we need to modify the previous js code to cover case other pages.

If customer at other page, we will redirect them to home page then scroll to exactly that section

Hi @Artez

can you try to replace the old code with this one:


Wow it work well for “about” and “contact me” the only two left to take care of are “services” and “clients”.

Would be amazing if you succeed dear friend.

Warm regards.

That sounds great.

Let remove the old JS code with this one. All with only this one:


So close dear friend, it redirect correctly,

one question:

Is it possible to redirect to the top of each topic, it look like it cut the words Client, and also the same about “about”, when redirected from the precious page, it redirect correctly but cut the titles, thank you very much :raising_hands:

Actually it was scroll to exactly section with id corresponding, the reason of cut off text is because your header sticky have height is 73px so that over the text.

Let try to add this JS code to whether it can handle the issue for you:


You rock Dear friend! working amazing!

You’re welcome :face_savoring_food: