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

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


bdorsey

Question

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!

Edited by bdorsey
Initial Revision
Link to post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

@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)

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 0

@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)

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...