I know that isn’t theme issue becuase it did what I wanted but only for outside pages and not for the ones that are inside the homepage (rows).
But could do it. I was checking the
"Change Active Menu Item on Page Scroll?" before you recommended but thanks anyway!
My problem was that I have
'href' by links and not by id like
/wordpress/#aboutus isntead of
#aboutus so I needed to make some changes/restrictions.
But now I created some issues:
- When I change to other pages, scrolling remove the class.
- The code doesn’t work in the customization mode
Can you give me some tips?
I think I’m not doing in the correct way.
I made a question on stackoverflow about the code but it wasn’t answered yet. here