Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Code to left align text on mobile only (York)

Recommended Posts

Hi, what's the CSS code to align all header and body text to align left for mobile, but remain centred for desktop? Thanks!

Share this post

Link to post
13 hours ago, lines said:

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
.overlay-nav-wrapper {
    text-align: left;
    margin-left: 0;
    padding-left: 2vw;
main#page * {
    text-align: left !important;


You can send your question to my email to get faster answer.

How to Setup Password & Share URL  Armadillo - Free portfolio template

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...