How do I correctly position an image on my website header?

How do I correctly position an image on my website header?

-DM
Excursionist
52 0 7

On our current live site, our header contains text "MADE IN THE USA" along with a flag image next to it. However as we are transitioning to the updated version of impulse theme, I cannot figure out what is going wrong with the placement of the flag. 

The current site is storacell.net where at the top right is how we would like it to look on our new header

 

The preview to the updated version: https://os1m01hn2csll1e3-56250236962.shopifypreview.com

I thought the code was correctly transferred to the new one, but the flag image is sitting under the icons on the right, and we would rather the flag be directly to the right of the "madeintheusa" text.

This is what we are wanting it to look like

DM_1-1676396007869.png

 

 

Replies 2 (2)

PageFly-Kate
Shopify Partner
1371 375 424

@-DM ,

This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/theme.css->paste below code at the bottom of the file:

a.made-text {
    display: inline-flex;
    align-items: center;
}

 Hope my answer will help you!

Please let me know if it works by giving it a Like or marking it as a solution!


Unlock the secrets to a record-breaking BFCM with PageFly and Canva


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)


➜ Weekly updated Shopify tutorials on YouTube


All features are available from the Free plan. Live Chat Support is available 24/7.


GemPages
Shopify Partner
5625 1262 1279

Hello @-DM 

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

GemPages_0-1676427656174.png

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

GemPages_1-1676427691859.png

    <style>
      @media (max-width: 767px ) {
        .site-nav__link--icon {
            padding-left: 3px !important;
            padding-right: 3px !important;
        }        
        a.made-text {
            display: inline-flex;
            align-items: center;
            font-size: 10px;
        }        
        a.made-text .flag {
            width: 30px;
            height: 30px;
        }
      }
    </style>

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