Jump to content

Change text link to a button?

Recommended Posts

Site URL: https://alimck.com

I wish to add a button inside my image card text but can't get the right position when using a Button Block.

Is there a way to turn the text that says "Click here to book" into a button that respects the themes button styles?

 

Link to comment
3 hours ago, webdav said:

Site URL: https://alimck.com

I wish to add a button inside my image card text but can't get the right position when using a Button Block.

Is there a way to turn the text that says "Click here to book" into a button that respects the themes button styles?

 

Hi. add below code into CSS Editor
#block-yui_3_17_2_1_1619992736841_27453 {
    .image-card-wrapper .sqs-dynamic-text {
        p a {
            color: #fff;
            background-color: #1a1a1a;
            border-color: #1a1a1a;
            padding: 6px 10px;
        }
    }
}

Link to comment
  • 2 weeks later...
On 5/23/2021 at 8:56 PM, Agha_Waqas said:

Hi. add below code into CSS Editor
#block-yui_3_17_2_1_1619992736841_27453 {
    .image-card-wrapper .sqs-dynamic-text {
        p a {
            color: #fff;
            background-color: #1a1a1a;
            border-color: #1a1a1a;
            padding: 6px 10px;
        }
    }
}

This worked a treat, 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.