I can't appear code on my website.

Posted in: Newspaper
Post count: 16

Hello,

I try to import a weather widget. I go into youweather.com website in Widget tab and I create a widget code for my location.
Here is the code:
<iframe scrolling="no" frameborder="0" allowtransparency="true" src="http://www.youweather.com/widget_getweather.php?cid=789&type=forecast&template=5days&locale=el-gr&color=whitetransp&temperature_measure=celsious&winds_measure=bf" style="width: 300px; height: 200px"></iframe>

When I go and try to implement into my sidebar, I use Raw html element and I paste the code inside. Didn’t work.
I also try a Column text, I paste it into text. Didn’t work again.
I set the frameboarder=”1” and I see the boarder but not the weather inside the frameboarder.
I test it on my website at the follow link if you want to check it https://porto-rafti.gr/guest-post/ .
At the top of the sidebar before the search bar you see an empty area, and at the bottom of the sidebar you can see the frameboarder=”1”.

I say maybe the code is broken, so I open notepad paste the code and save it .html.
I open the file and work!
So the code isn’t broken.

Is there any conflict with the theme?
What can I try?
Give me any suggestion please.

Thank you.

  • This topic was modified 7 years by Xristos.
  • This topic was modified 7 years by Xristos.
Post count: 16

I found the solution.

In the url on the code src=” “ I should change http to https.

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.