Move text downward in header (Dawn theme)

Hi,

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

I have added this code:

Für Rabatt zuerst einloggen

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:

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!!

Hi @Park_2

Do you mean like this?

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.

This worked perfectly, thank you so much!

Please dont forget to hit Like. Thanks!