Move text downward in header (Dawn theme)

Solved
Park_
Visitor
2 0 2

Hi,

I would like to add a bit of text to the header underneath the icons on the right.

I have added this code:

 

<p class="sub-text-here">Für Rabatt zuerst einloggen</p> to the header.liquid file and it did add the text, but it needs to be further down on the page and not inbetween the icons.

 

Here a photo for referece:

Park__1-1698332488100.jpeg

You can't see it on our website right now as I'm testing it on a duplicate theme but the link would be www.parkag.ch

Does anyone know how to do this? I haven't found a solution on my own.

 

Thanks!!

 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4054 925 1133

This is an accepted solution.

Hi @Park_ 

Do you mean like this?

Made4uoRibe_0-1698334924796.png

This is the code. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (min-width: 749px){
.header__icons:after {
    content: "Für Rabatt zuerst einloggen";
    position: absolute;
    bottom: 25px;
    padding-left: 20px;
    font-size: 16px;
}
}

 

  • And Save. 
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 3 (3)
Made4uo-Ribe
Shopify Partner
4054 925 1133

This is an accepted solution.

Hi @Park_ 

Do you mean like this?

Made4uoRibe_0-1698334924796.png

This is the code. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (min-width: 749px){
.header__icons:after {
    content: "Für Rabatt zuerst einloggen";
    position: absolute;
    bottom: 25px;
    padding-left: 20px;
    font-size: 16px;
}
}

 

  • And Save. 
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Park_
Visitor
2 0 2

This worked perfectly, thank you so much!

Made4uo-Ribe
Shopify Partner
4054 925 1133

Please dont forget to hit Like. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com