Position on page always upper left....

Having trouble getting started? The viewer isn't loading properly?
Posts: 1
Joined: Sat Jun 16, 2018 3:26 pm

Position on page always upper left....

Postby EGOR » Sat Jun 16, 2018 3:36 pm

I am relatively new to WebRotate360. Have published several rotating html files that work fine except that they all go to the upper left corner of any web page opened on Safari or IE. Is there a button or setting that allows for "top-center" positioning as opposed to top-left at least? Or is this something I need to edit in the html?
Thanks in advance for any help.

600x400 always goes to upper left for rotating. Right side image shows placement in center top which is where I want

Posts: 922
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA

Re: Position on page always upper left....

Postby WebSupport » Sun Jun 17, 2018 9:45 pm


This is according to our templates that you can select on the Publish form in SpotEditor. The templates are hardcoded (there're a few for different integration types) but once you publish it, you may edit it further in html.

For a quick website integration, you may consider "Mobile full page" template which will take the entire browser window (or an iFrame window) and the 360 product images are then centered which works great for embedding inside other pages elsewhere. For more details on iFrame embedding you may check out our user guide under Web Integration -> Embed via iFrame.

PS: to do what you need exactly using the Standard template (if you use one), you can simply add this highlighted line to the content style that you will see at the top of the html file:

Code: Select all

    width: 600px;
    height: 450px;
    margin: 0 auto 0 auto; // add this line to center the view at the top of the page

You can then replace the first zero with a pixel value (e.g. 30px auto 0 auto;) to add some top margin as per your screenshot.

Return to “Setup Issues and Embedding”