Jump to content

redesign custom css

Recommended Posts

Site URL: https://www.huntandgathergrocer.com.au/

.sqs-block-summary-v2 .summary-block-setting-design-list .summary-item, .sqs-block-summary-v2 .summary-item.positioned {
    padding-top:100px !important;
  }
  .summary-content {
    position:auto;
  }
  .summary-title .summary-title-link:after {
    content: '    add to cart';
    background-color: #FDEEF4;
    border-radius: 2px;
    display: block;
    padding: 10px 20px;
    font-family: "proxima-nova","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    background-color: normal;
    border-color: normal;
    position: auto;
    bottom: -10
  }

 

how would i move the add to cart button to be below the price and title instead of between them 

www.huntandgathergrocer.com.au

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

edit the position: auto to this

.summary-title .summary-title-link:after {
    content: ' add to cart';
    background-color: #fdeef4;
    border-radius: 2px;
    display: block;
    padding: 10px 20px;
    font-family: "proxima-nova","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}
body.homepage .sqs-block-summary-v2 .summary-item {
    overflow: visible;
}

image.thumb.png.807ee036d2d9772651068fafc2d4c037.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!)

Link to comment

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.