Embedding Google Virtual Tour iframe in Text Block – Problem with alignment

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeEmbedding Google Virtual Tour iframe in Text Block – Problem with alignment

This topic has been marked as not resolved.

OC 2.0.1.1
Pavilion 1.2.5 – Shoppica theme

I’m trying to embed a Google virtual tour iframe into my Home page, using the Text block. It worked fine the first time I created the block, size (1000 x 400 px) and alignment was correct filling the whole width of the content frame.

I then moved the Text block from Row 2 to Row one, swapping it over with the Fireslider. When I viewed my Store, it had shifted to the right (about 12px) over the content frame. So it’s now misaligned with the content frame.

I’ve tried to delete it and reproduce what I did first time, but I get the same results.

Any help would be appreciated!

Thank you:)
Ann

June 26, 2015 at 5:28 pm #41654

Hello Ann,

Unfortunately, the CKEditor in the text block is a text editor at first place and it may remove some of your HTML attributes sometimes.

Until we provide a better solution, you can use this workaround:

1) Position your text block.

2) Edit the block, set the CKEditor to html mode and paste your code inside.

3) Update the block (the big red “Update Settings” button), without touching anything else.

Doing so, you will skip the code parsing from the visual editor. Be aware that once you reopen the text block, your HTML code will be modified.

BR,
ThemeBurn team

June 29, 2015 at 1:35 pm #41710
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.