Archived topic
Google My Maps (HTML and Embedded functions not working)
19 replies · Started by Niels Thomas Roskott on June 1, 2022
Hi there,
I am using generate press theme Catalyst. I made a Google My Maps document. I used the Own HTML code block and entered the embedded Iframe code here, but once I safe it the map takes over the header and it is shown as the top header for some reason and not just a part of the block in the text.
What am I doing wrong?
Hi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Yes - no problem. I included it in the field.
Here is also the link to my map. :)
I'm not seeing an issue on the home page:
https://www.screencast.com/t/ddKsF5gmWS8
Is there a specific page I should be looking at or steps to reproduce the issue?
This is likely not a theme related issue by the way.
Because I switched the map of again. Will add it now so you can see it. Not sure had to add screenshot here?
Where is the code being added? Inside a block element page hero?
No right after chapter: Can You See Whales And Dolphins From The Shore In Iceland?
Screenshot: https://imgur.com/a/mu9QK9v
Can you try using a custom HTML block instead of a container block from GB?
I am not sure I understand. I am already using a custom HTML block?
Hmm ok I feel like something conflicting with the script - this isn't something the theme can control.
Can you do the following test:
1. Disable all plugins except GP Premium and GenerateBlocks.
2. Start a new/fresh page and only add the map as the content using HTML block.
Strange. I did as you asked and made the page first. I wanted to check it before I closed all the plugins and it seem to work. Can it be something on the home page that is causing the error? I included the link.
Can it be something on the home page that is causing the error?
That seems to be what the test result suggests.
Was there a container block wrapped outside of the HTML block on the home page? If so can you try removing it?
Yes that is correct. There is one big container block wrapped around but if I remove it all the text inside will also be removed. How can I stop that from happening?
Hmm so if you go to the test page and add a container block outside of the custom HTML block. Does the issue exist there?