Solved

Center Instagram Icon Asset on Password Page - Debut Theme

ivycooper
Tourist
11 0 5

I've added an Instagram icon to my password page using this code:

<a href="https://instagram.com/jasperoxli/"><img src="{{ 'Asset_6.png' | asset_url }}" alt="Follow us on Instagram" style="height:25px;"/></a>

The icon was uploaded as "Asset 6" and the code was added to password-content.liquid on line 70

But the icon is on the left side of the password page, as shown in the image below, and I would like it to be in the center

Please let me know how I can fix this

Screen Shot 2022-05-09 at 10.28.05 am.png

Accepted Solution (1)
Amlibolikha
Shopify Partner
69 9 13

This is an accepted solution.

Hi @ivycooper ,

 

You can follow the instruction below:
 
1. Go to Online Store->Theme->Edit code  
2. Asset->/theme.css->paste below code at the bottom of the file:

 

#shopify-section-password-content {
    text-align: center;
}

 

Hope it can help you.

View solution in original post

Replies 6 (6)

KetanKumar
Shopify Partner
36905 3641 11986

@ivycooper 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!😊
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
ivycooper
Tourist
11 0 5

Thank you @KetanKumar, its jasperoxli.com

Amlibolikha
Shopify Partner
69 9 13

This is an accepted solution.

Hi @ivycooper ,

 

You can follow the instruction below:
 
1. Go to Online Store->Theme->Edit code  
2. Asset->/theme.css->paste below code at the bottom of the file:

 

#shopify-section-password-content {
    text-align: center;
}

 

Hope it can help you.
ivycooper
Tourist
11 0 5

That worked perfectly! Thank you so much for your help @Amlibolikha 

Amlibolikha
Shopify Partner
69 9 13

Hi @ivycooper ,

 

Glad it is the solution for you.

Amlibolikha
Shopify Partner
69 9 13

Hi @ivycooper ,

 

Please share your store URL and if your store is password protected then please provide password too.
So that we can help you.
Thank you.