Jump to content

Centre CSS button and change colour

Recommended Posts

We've just moved our booking software from Resy (they're shutting down in the UK) to Seven Rooms, I've been given the below code for the new booking widget; 


<div id="sr-res-root" class="sr-md sr-dark sr-#fbd1b3">Reservations</div>
<script src="https://www.sevenrooms.com/widget/embed.js"></script>
    venueId: "swim",
    triggerId: "sr-res-root", // id of the dom element that will trigger this widget
    type: "reservations", // either 'reservations' or 'waitlist' or 'events'
    styleButton: true, // true if you are using the SevenRooms button
    clientToken: "" //(Optional) Pass the api generated clientTokenId here


I'm wondering if I can centre it in the content block and change the colour. 

I'd also like to use the same button twice on one page, for some reason when I paste the code in another content block the button doesn't show, just the word "reservations" with no link to the box. 

Link to comment
  • Replies 1
  • Views 220
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

20 hours ago, kmc87 said:

I'm wondering if I can centre [the sevenrooms.com widget] in the content block and change the colour. I'd also like to use the same button twice on one page

Have you contacted SevenRooms for support yet (support@sevenrooms.com)? For example, the method for implementing multiple widgets on the same page is slightly different from the standard implementation and they should be able to help you with this.

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

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.