Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1

OpenTable Block Customization


Stefano20

Question

11 answers to this question

Recommended Posts

  • 0

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.

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

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

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
  • 0

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.

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
  • 0
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...