Jump to content

Button Color/Shape in Image Cards

Recommended Posts

  • Replies 2
  • Views 656
  • Created
  • Last Reply
2 hours ago, khardin said:

Site URL: http://www.karahardin.com

Hi there,

I have tried searching for a solution to this, but I can't seem to find a way to get the buttons in image cards to match the rest of my site design standards. Appears I can only do rounded buttons and I can't see anywhere to change the default color. Anyone know if this can be overridden with CSS?

image.png.5d9b9959462b1440a037ea2c849278c8.png

DO you want it like that?

body.image-block-card-dynamic-font-sizing .sqs-block-image .image-block-outer-wrapper.design-layout-card a {
    font-weight: 600;
    border-radius: 0;
    background: #0a2202;
    padding: 13px 26px;
    font-size: 12px !important;
  
    -webkit-transition: .1s opacity linear;
    -moz-transition: .1s opacity linear;
    -o-transition: .1s opacity linear;
    transition: .1s opacity linear;
    -webkit-backface-visibility: hidden;
}
body.image-block-card-dynamic-font-sizing .sqs-block-image .image-block-outer-wrapper.design-layout-card a:hover {
    opacity: .8;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.