Solved

Fixed Header issues

  • 17 December 2019
  • 10 replies
  • 259 views

Hello, I am trying to adjust the top section of this page to be fixed on a scroll. I’ve looked at several other forums, but haven’t been able to find a soltution that works.

Any help would be great!

LP: https://www.try.shipbob.com/events/template/

icon

Best answer by Nicholas 17 December 2019, 15:45

View original

10 replies

Userlevel 7
Badge +4

Hi Nick, have you tried this Sticky Header script?

Hey Nicholas 🙂

I have just tried that but the box remains. Can you have a look at the LP?

https://www.try.shipbob.com/events/template/

Userlevel 7
Badge +4

Just to confirm, is this the part you want to make sticky? See red outline:

Yup! I would ideally like this section to remain fixed on scroll, but the white box you see below it is from the test I put together based on your first reply.

Userlevel 7
Badge +4

Hi Nick, try it this way: https://www.loom.com/share/76b19e9492024bbaafb3995ef4741a22

Regards,

Hey Nicholas,

Thanks for putting this video together! So I followed your recommendations, but unfortunately, it still is not working for me 😦

Maybe we can discuss off this forum for further help? 🙂

https://www.try.shipbob.com/events/template/

Userlevel 7
Badge +4

Hi Nick,

I think I might see the issue. Change this line in the script:

var boxToAppend = 'lp-pom-box-659';
to
var boxToAppend = '#lp-pom-box-659';

I think it’s missing the “#” symbol.

It worked!! Fantastic. Thank you so much for the help here!!! 🙂

https://www.try.shipbob.com/events/template/

Userlevel 7
Badge +4

Awesome, yes, it’s working and looks great! Glad that fixed it and happy to help.

Hi,

Try the sticky header. See the link below:

Home - Kids Toys & Games | KUSH TOYS

Reply