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

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

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

Share this post


Link to post

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. I work for a non-profit project (promote the establishment of 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. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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. I work for a non-profit project (promote the establishment of 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. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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