Jump to content

How to adjust placement of Code Block

Recommended Posts

Site URL: https://guppy-bellflower-73kd.squarespace.com/bookme

Hi there, password to enter the site is "bubba".

I have a small question. On the "Book Appointment" page of this site, I have a Javascript code block with an embedded HTML snippet. I would like the gold "Book Session" button to sit directly in the center of that page and not all the day at the bottom, the way it does right now.

 

Also, after clicking on "Book Session", the box that appears then wants to hide under the fixed header if I scroll down.

How do I make it so that it doesn't do that? Will I have to change elements of the HTML snippet itself or will I have to go into Custom CSS?

Thanks!

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 5 months later...

#2. Use this CSS

.zf-bookme-frame.zf-bookme-frame_center.zf-bookme-frame_expanded {
    z-index: 300000000000000000000 !important;
}

#1. Play around with this code

iframe[src*="zenfolio.com"] {
    top: -70% !important;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (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.