Archived topic
Html block placed in a post displayed in the footer
17 replies · Started by Roberto on March 4, 2022
I inserted the code of an advertisement in an html block: https://www.contemplazione.it/2022/03/03/ogni-concetto-muore-nella-gratuita-65g/.
On the desktop site it displays it well, on a smartphone it puts it in the footer.
Thank you.
Si
You will need to check with the Ad code provider as thats an iFrame thats being injected into the footer. Its not something the Theme can change.
But on another site, the same theme, it's fine: https://www.cerchioifior.it/intelligenza-trarre-elementi-utili-per-comprese-if56-5focus/
Can you check that URL as its returing: Oops! La pagina non è stata trovata.
What happens if you move your HTML Block to another part of the post content?
Also check the code to make sure there are no broken or missing tags eg. it has an open <script> and closing </script> tag
He always puts it in the footer
What happens if you copy the HTML from this page:
https://www.cerchioifior.it/intelligenza-trarre-elementi-utili-per-comprendere-if56-5focus/
and add it to the problem page ?
It's not a code problem, I also tried with another widget's code
Taken the code from the working site, copied, same problem
Is it only that single Post there is the problem ?
No, in all posts on the site
A plugin problem? They are not all the same between the two sites ...