I have created a block hook element that is a button (titled Quick Picks). I hooked this button in the secondary navigation using the hook “generate_inside_secondary_navigation”. It displays fine but there are two things that I haven’t been able to figure out.
My secondary navigation is left-aligned but when I make the button appear, it aligns the navigation to the right and aligns the button to the left. I would like the navigation to remain left-aligned and locate the button to the right.
I want to link this button to an anchor and would like to use the smooth-scroll class on the button so there is a nice smooth transition but I don’t see any obvious way to do it.
I’ve included the site URL and credentials if you need to access. Thanks much!
I applied the CSS in the Customizer and it did change the order but not enough. See the link to the image in the private window.
I tried the fix that you suggested prior to posting the ticket but that didn’t seem to perform the smooth scroll when applied. The movement is very abrupt behaving like a default link. If you go the the secondary navigation, I created a link within the menu itself called Quick Links with the smooth-scroll applied and it behaves as expected. But the button I placed with the hook doesn’t seem to take to the smooth-scroll.