Jump to content

[Share] Summary Block: Text (left) - Image (right)

Recommended Posts

Posted

To change Summary Block layout to Text (left) - Image (right) or Text (right) - Image (left) like this

image.png.b4a91ed3bc79da07cf3c058d8e8715a5.png

#1. First, find ID of Summary Block.

 

In my example, it is: #block-yui_3_17_2_1_1728103003203_14660

image.png.faef655d300996cb149c258e7844848d.png

#2. Next, use this CSS code

#block-yui_3_17_2_1_1728103003203_14660 {
  div.summary-item {
      display: flex !important;
      flex-direction: row-reverse;
      align-items: center;
      justify-content: flex-end;
  }
  .summary-thumbnail-outer-container {
      width: 50%;
  }
  .summary-content {
      width: 47%;
      margin-right: 3%;
  }
}

image.thumb.png.1731fd4ea584891b73b8c61d800d3a71.png

#3. If you want to make this effects on Desktop Only, use this CSS code

@media screen and (min-width:768px) {
  #block-yui_3_17_2_1_1728103003203_14660 {
    div.summary-item {
        display: flex !important;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: flex-end;
    }
    .summary-thumbnail-outer-container {
        width: 50%;
    }
    .summary-content {
        width: 47%;
        margin-right: 3%;
    }
  }
}

image.thumb.png.05aa27201598ca67a1a9a62d7bf3fa4f.png

#4. If you want to change to Left Image - Right text, just change 

row-reverse
to
row

image.thumb.png.2bd5f575dbf907e277cf7f25f51f9d22.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • Replies 0
  • Views 147
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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.