Jump to content

Left aligned for MOBILE only

Recommended Posts

Hi all, I'm trying to make certain copy left-aligned at mobile view only. 

For H1 and the body copy, I was able to centralise the text at mobile view only with this code:
@media only screen and (max-width: 767px) {
#block-f22443780cf18b9062ca, #block-4d3b778cea06e11e17de { 
    text-align: center; 
  }}


However, I was unable to left-aligned the following text with the following code:
@media only screen and (max-width: 767px) {
#block-yui_3_17_2_1_1691026635683_53233, #block-26a7ccb790a5dd3219be { 
    text-align: left; 
  }}

Help.
image.png.1f25873ec113e8028649ffcf6da84f41.png

Link to comment
  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

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


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.