Jump to content

OpenTable Block Customization

Recommended Posts

Add to Home > Design > Custom CSS

/* open table background */
.squarespace-opentable-new-age-wrapper {
    background: #862633 !important;
}
/* Button */
.squarespace-opentable-new-age-wrapper input {
    background: darkgrey !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 3 months later...
On 8/2/2020 at 6:35 PM, tuanphan said:

Add to Home > Design > Custom CSS


/* open table background */
.squarespace-opentable-new-age-wrapper {
    background: #862633 !important;
}
/* Button */
.squarespace-opentable-new-age-wrapper input {
    background: darkgrey !important;
}

 

I just implemented this on my site as well but is there a way to move the "Find a table" button to the right? So that they're all in the same row? Thanks!

Link to comment
11 hours ago, lamdra said:

I just implemented this on my site as well but is there a way to move the "Find a table" button to the right? So that they're all in the same row? Thanks!

Can you share link to page where you embed opentable? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 weeks later...
On 11/17/2020 at 11:48 PM, lamdra said:

Of course, it's currently at http://primrosesteamboat.com/

Hi. Sorry for the delay.

This will requires JavaScript. Which plan do you use?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

First, in Code Injection Header, remove this line

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>

Replace with this new line

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

Add this code to Code Injection Footer

<script>
  $(document).ready(function() { 
		$('div.sqs-block-opentable-v2 .squarespace-opentable-button-wrapper').insertAfter('.ot-time-picker.ot-dtp-picker-selector.unselected-on-init');
	});
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 7 months later...
On 8/3/2020 at 1:35 AM, tuanphan said:
/* open table background */
.squarespace-opentable-new-age-wrapper {
    background: #862633 !important;
}
/* Button */
.squarespace-opentable-new-age-wrapper input {
    background: darkgrey !important;
}

 

Great stuff, thanks!

Link to comment
  • 1 year later...
On 2/20/2023 at 9:00 PM, Svenihana said:

Hello there. I would love to get rid of the open table widget background. Any chance to change the background opacity to 0%?

Can you share link to page where you use Open Table Widget? We can check it again easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.