Different text-alignment (PC-mobile) | WordPress.org

@media only screen and (max-width: 600px) {
  .wpb_wrapper p{ text-align : left !important }
}

Add this CSS. Required important because of you have used an inline CSS.

Better you can write CSS using visual composer for this section.
https://visualcomposer.com/help/design-options/responsive-design-options/
https://visualcomposer.com/help/settings/custom-css/

  • This reply was modified 3 days, 6 hours ago by ravipatel.
  • This reply was modified 3 days, 6 hours ago by ravipatel.

You are a champion! I am thankful! 🙂

I take the chance to ask you:
How would you set the padding of that text (right 10% and left 10%) for mobile and 25% – 25% for PC?

PS: Your suggestion of visual composer looks great. I will install it and learn how to use it for future websites. This time I had many difficulties and now that it’s almost done, I’d prefer not to try new software.

I managed to do it by myself! 🙂



Source link