Jump to content

Guru Needed to Help and Center the output of this Code Block on the page

Recommended Posts

Here's the page that needs help.http://briandorseystudios.com/shootproof-index(the codeblock seems to want to right justify the content)

Here's the code that's called.


<script type="text/javascript">var _spRemote={width:1920,height:1080} ;var _ce = parseInt(Math.random() * 99999999);document.write('<sc' + 'ript type="text/javascript" src="https://photos.briandorseystudios.com/remote/embed?ce=' + _ce + '"></sc' + 'ript>');</script>


I'm not a coder. Can anyone explain to me (in simple terms...) how to get the output of this block centered on the page? Since it's a code block, i can't use spacer blocks.

Thanks!

Link to comment
  • Replies 3
  • Created
  • Last Reply

@bdorsey Add to Home > Design > Custom CSS


div#block-yui_3_17_2_1_1567616009803_3736 {
   width: 100%;
}
iframe#sp-1568246184592 {
   transform: translateX(-20%);
}

(bad solution)

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

@bdorsey Add to Home > Design > Custom CSS


div#block-yui_3_17_2_1_1567616009803_3736 {
   width: 100%;
}
iframe#sp-1568246184592 {
   transform: translateX(-20%);
}

(bad solution)

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

Archived

This topic is now archived and is closed to further replies.

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