Title: Different text-alignment (PC-mobile)
Last modified: May 15, 2020

---

# Different text-alignment (PC-mobile)

 *  Resolved [potop58](https://wordpress.org/support/users/potop58/)
 * (@potop58)
 * [6 years ago](https://wordpress.org/support/topic/different-text-alignment-pc-mobile/)
 * Hi,
    On the website provided, on the homepage, my mate has asked me to set the
   alignment of the text as centered for PC, but aligned to left for mobile.
 * I’m really struggling. Could someone please help?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdifferent-text-alignment-pc-mobile%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * (@ravipatel)
 * [6 years ago](https://wordpress.org/support/topic/different-text-alignment-pc-mobile/#post-12842174)
 *     ```
       @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/design-options/responsive-design-options/)
   [https://visualcomposer.com/help/settings/custom-css/](https://visualcomposer.com/help/settings/custom-css/)
    -  This reply was modified 6 years ago by [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/).
    -  This reply was modified 6 years ago by [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/).
 *  Thread Starter [potop58](https://wordpress.org/support/users/potop58/)
 * (@potop58)
 * [6 years ago](https://wordpress.org/support/topic/different-text-alignment-pc-mobile/#post-12842398)
 * 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.
 *  Thread Starter [potop58](https://wordpress.org/support/users/potop58/)
 * (@potop58)
 * [6 years ago](https://wordpress.org/support/topic/different-text-alignment-pc-mobile/#post-12842407)
 * I managed to do it by myself! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Different text-alignment (PC-mobile)’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [potop58](https://wordpress.org/support/users/potop58/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/different-text-alignment-pc-mobile/#post-12842407)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
