How do I move a custom section above header? (Not announcement bar)

Solved

How do I move a custom section above header? (Not announcement bar)

IamAnonymous
Tourist
19 0 1

Hi is it possible to create a custom section and move it above header? It’s a marquee text bar.

 

I am using Dawn theme.

Here is the liquid file (I am on mobile so I can only add it in quotes)

 

Please do not ask for my store link as I want to be 100% anonymous.

 

<div class="marquee-container">
<div class="marquee">
<div class="marquee-words">{{ section.settings.marquee }}&nbsp;</div>
</div>
<!--- Coded by jotting.com --->
</div>
{% schema %}
{
"name": "Marquee",
"settings": [
{
"type": "text",
"id": "marquee",
"label": "Marquee text"
}
] ,
"presets": [
{
"name": "Marquee",
"category":"Custom"
}
]
}
{% endschema %}

Accepted Solution (1)

GemPages
Shopify Partner
5625 1262 1279

This is an accepted solution.

Hello @IamAnonymous 

 

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

GemPages_0-1670986214098.png

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

GemPages_2-1670986326993.png

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 2 (2)

GemPages
Shopify Partner
5625 1262 1279

This is an accepted solution.

Hello @IamAnonymous 

 

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

GemPages_0-1670986214098.png

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

GemPages_2-1670986326993.png

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
IamAnonymous
Tourist
19 0 1

Thank you