What's your biggest current challenge? Have your say in Community Polls along the right column.

How do I center my product line titles for mobile devices

Solved

How do I center my product line titles for mobile devices

Jim
Explorer
66 2 23

a450395c5e94362abdf3ae419b0b04f.png

my website: www.bmcarcover.com

Accepted Solution (1)

BSSCommerce-HDL
Shopify Partner
2305 834 910

This is an accepted solution.

Hi @Jim

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

<style>
@media only screen and (max-width: 749px) {
   .title-wrapper-with-link h2 {
    text-align: center !important;
   }
}
</style>

 

Here is result:

BSSCommerceHDL_0-1724395403264.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 2 (2)

GTLOfficial
Shopify Partner
679 144 142

Hello @Jim 
Go to online store ----> themes ----> actions ----> edit code---->base.css
add this code at the end of the file.

@media (max-width: 767px) {
.full-unstyled-link {
text-align: center !important;
}
}

result
11.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

BSSCommerce-HDL
Shopify Partner
2305 834 910

This is an accepted solution.

Hi @Jim

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

<style>
@media only screen and (max-width: 749px) {
   .title-wrapper-with-link h2 {
    text-align: center !important;
   }
}
</style>

 

Here is result:

BSSCommerceHDL_0-1724395403264.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now