Jump to content

Full width image cards

Recommended Posts

Dear all,

I am trying to have full width image cards (the image filling the half of the section). The following code works on desktop, but:

a. on tablets it doesn't work (attaching print-screen)
b. on mobile the left padding is near the screen and when changed to ex. padding-right: 30 px. it effects the desktop version. Also, there is no bottom padding for the text.
c. when the image card has the image on the right, there is no padding on the left and when adjusted with padding-left, it changes also the padding on other cards, which have the images on the left.

I am using PULASKI template. Any thoughts?

Thank you,

C

[data-section-id="60ba75d0306682726b7160b8"] {
  overflow-x: hidden !important;
  overflow-y: hidden !important;
    .content-wrapper  {
      padding: 0px !important;
      margin: 0px auto;
      display: contents;
    }
.sqs-layout .sqs-row .sqs-block {
  padding-bottom: 0px !important;
  padding-top: 0px !important;
}}
  
.image-card-wrapper .sqs-dynamic-text-container {
  padding-left: 0px !important;
  padding-right: 90px !important;
}

tablet.png

mobile.png

Edited by HSL
Additions
Link to comment
  • Replies 1
  • Views 329
  • 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.