My contact page is aligned to left

My contact page is aligned to left

Tranquilo
Shopify Partner
16 0 4

Hi everyone,

A while back, I asked about how to left-align the 'collection title' on my homepage. Since making that change, the text on my contact page has also aligned to the left. Could someone help me fix this so that only the homepage title is left-aligned while keeping the contact page text centered?

Thanks in advance!

 

 

tranquilo.store

 

Tranquilo_0-1727980335148.png

 

 

Reply 1 (1)

comercioservice
Shopify Partner
264 37 30

@Tranquilo  Hi hope you are well,

I’ve taken a look at what you need—just a little CSS magic, and everything will be fixed! Follow my steps, and you'll have it sorted in no time!
1, from admin, go to Online Store > Themes.
2, Actions > Edit code for your active theme.
3, Find and open the theme.liquid file, maybe in the Layout folder.
4, Look for the </head> tag and paste the code in the end

 

 

<style>
.section-contact-form .section-title--wrapper {
    align-items: center !important;
}

.section-contact-form .section-title--wrapper .section-description.subdued-text.text-link-animated {
    margin-left: auto !important;
}
</style>​

 

 

Result: gutenplayer_0-1727980989022.png

 


I
hope it works for you, let me know, and If you'd like to discuss this more, don't hesitate to send me a PM
Thank you
Was my reply helpful? Click Like to let me know! Was your question answered? Mark it as an Accepted Solution.
Need store customizations, bug fixing or development ? Contact with us -- Support form for quick quote!
BFCM Big Deals: Big savings 25% off -on our Shopify FAQs apps!