How to make the website start at the bottom of the page when loaded

Solved

How to make the website start at the bottom of the page when loaded

Viibed
Excursionist
23 0 5

I am trying to make a cool unique first page but when the page is first loaded, I don't want to see the header right away, but rather only see it after you scroll up. I want the website to start all the way scrolled down when loaded so that when you scroll up the heading appears. Website link: Viibed

 

Viibed_0-1722121588651.png

What it looks like right now when first loaded (starts at the top of screen)

 

Viibed_1-1722121670193.png

What I WANT it to look like when first loaded (starts at the bottom of the page)

 

Or if that isn't possible, is there a way to make the header appear only after a specific amount of time? (like the header loading in after 3 seconds)

 

Please help and thank you.

Accepted Solution (1)

BSSCommerce-HDL
Shopify Partner
2071 734 921

This is an accepted solution.

Hi @Viibed

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </body> tag: 

<script>
   window.scrollTo({
     top: 500,
     left: 0,
     behavior: 'smooth'
   });
</script>

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 3 (3)

BSSCommerce-HDL
Shopify Partner
2071 734 921

This is an accepted solution.

Hi @Viibed

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </body> tag: 

<script>
   window.scrollTo({
     top: 500,
     left: 0,
     behavior: 'smooth'
   });
</script>

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Viibed
Excursionist
23 0 5

It worked, thank you!

BSSCommerce-HDL
Shopify Partner
2071 734 921

@Viibed, No problem. Have a good day 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now