Happening now! Exclusive AMA: Streamlining Fulfillment and Delivery with Shopify Experts | Ask your questions to be answered by our team!

Merge header and slideshow in dawn theme

Solved

Merge header and slideshow in dawn theme

Vishavjit
Tourist
7 0 1

I have a slideshow that i want to merge into header above i.e i want slideshow as background in header section as well 

Accepted Solution (1)

GemPages
Shopify Partner
5625 1261 1241

This is an accepted solution.

Hello @Vishavjit ,

 

You can follow these steps: 
1. Go to Online Store->Theme->Edit code

GemPages_0-1677034015414.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_1-1677034039290.png

{%  if template contains 'index' %}    
    <style>
      div#shopify-section-header {
          position: relative;
      }      
      .header-wrapper {
          position: absolute;
          width: 100%;
          background: rgb(255 255 255 / 26%);
      }
    </style>
    {%  endif %}

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

Replies 6 (6)

GemPages
Shopify Partner
5625 1261 1241

Hello @Vishavjit ,

 

Can you give me your Store URL( with pass if your store password is enabled) so I can check it for you?

Kind & Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
Vishavjit
Tourist
7 0 1

GemPages
Shopify Partner
5625 1261 1241

This is an accepted solution.

Hello @Vishavjit ,

 

You can follow these steps: 
1. Go to Online Store->Theme->Edit code

GemPages_0-1677034015414.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_1-1677034039290.png

{%  if template contains 'index' %}    
    <style>
      div#shopify-section-header {
          position: relative;
      }      
      .header-wrapper {
          position: absolute;
          width: 100%;
          background: rgb(255 255 255 / 26%);
      }
    </style>
    {%  endif %}

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
danbot
Excursionist
59 0 6

Hi!

 

Is it possible to make the same with the footer? Like a fixed homepage without scrolling down or up

 

Thanksss 🙂

cococat
Tourist
6 0 0

It work. However, on mobile device, i cannot click onto my mobile hamburger menu navigation. If i click the hamburger, the url of slideshow will trigger and lead me to product page. How to fix it?

 

Edited: Now even the desktop header menus are not clickable. Look like the slideshow is in the way.

DreamLab
Visitor
2 0 0

It still shows a very low opacity white square on the header. Is there anyway to fix that?