Jump to content

Style link in product page to a button

Go to solution Solved by Huib,

Recommended Posts

Posted

Hi,

Is there anyone who can help me with the styling of a link in the productpage to a button.  I have allready managed to remove the normal 'ad to cart' button and I would like to turn the 'stuur bestelaanvraag' link to a button which leads to a contact form.

Thanks in advance.

  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Can you share your website URL and this page?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

  • Solution
Posted

Hi,

I managed to do it myself. As it is a link in the product description, i added the follow CSS the customize the styling of the link in this particular area:

/* Product Link to button */
.ProductItem-details .ProductItem-details-checkout p a {
    background-color: black;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
}

image.png.9a947f7fd6fcf8b1efe82a64bd0126f9.png

 

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.