[Debut Theme] How to make the product description alignment centralized?

Pebblesmama
Tourist
8 0 4

Hi!

I am having trouble aligning the product description. 

I want it centralized but the current mobile view is showing all text and images to be aligned to the left:

Pebblesmama_0-1624132579144.png

 

Appreciate if anyone could let me know how I can resolve this. 

 

Thank you!

hash777
Shopify Partner
164 9 23

@Pebblesmama  hi there, f helpful then please Like and Accept Solution.
THANKS

1. In your Shopify Admin go-to online store > themes > actions > edit code

2.  changed in Asset > theme.scss.liquid and paste this at the bottom of the file.

@media only screen and (max-width: 749px){
.custom__item-inner {text-align: center;}
}


Hope this Helps, If it does then please Like and Accept Solution.

 

0 Likes
Pebblesmama
Tourist
8 0 4

 

 

Hi @hash777 !

The alignment in the mobile view is still not centralized Do you need to see my code to see if anything went wrong?

Thanks!

 

 

 

 

0 Likes
hash777
Shopify Partner
164 9 23

@Pebblesmama  OK, just add this to the bottom line of code  OR replace with this

text-align: center !important;

  Hope you got it. you just need to aad       !important          after center

in the previous code i gave you. 

Try this and then let me know.

0 Likes
dmwwebartisan
Shopify Partner
7370 1746 2333

@Pebblesmama 

Please share your store URL.

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
0 Likes
Pebblesmama
Tourist
8 0 4

Hi @hash777 , 

I tried pasting the code, but still not getting the desired effect:(

0 Likes
Pebblesmama
Tourist
8 0 4
hash777
Shopify Partner
164 9 23

@Pebblesmama  Hi there, your password is incorrect ?

0 Likes
Pebblesmama
Tourist
8 0 4

Opps. Auto corrected.

Pw: skiets 

0 Likes