Left aligned mobile product descripion text

Hi,

On mobile i would like to have the product description aligned to the left (just like desktop). The text comes in via a dynamic source.

How can i do this?

The Theme im using is ‘Next’. The url is https://theflowerfield.nl/

Can you help me?

1 Like

Hello @brtbbnk
I tried with code, but on mobile, the text is not displaying properly the way you want.

Hi @brtbbnk

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 760px) {
.swiper-slide.swiper-slide-active {
    text-align: left !important;
}
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hi, thanks for your reply!

I saw a comment like this before. I can’t find any of the “base.css, style.css or theme.css” files. Not in the assets map, but also not in any ‘edit code’ map.

try to paste in the screen.css file.

1 Like

Perfect, that works. Thanks!!