Jump to content

Removing header from embed

Recommended Posts

Site URL: https://www.landelijkplatformnabestaandenzorg.nl/leden

Hi all,

I used a bit of coding on this website to embed a Google My Maps. In this embed you see a header/banner visible. I want to remove this banner. Does anyone have a html solution to remove this in code? I used the following code as you van see in the attachments:

<embed type="text/html" src="https://www.google.com/maps/d/embed?mid=1vt8JsFLlyE3oGjG5gnfKxDDP5Ru1JIMh" width="100%" height="500" border="none" margin-left="-100px" margin-top="-100px">

Thanks in advance!

Vivian

Schermafbeelding 2021-02-17 om 11.15.42.png

Schermafbeelding 2021-02-17 om 11.15.30.png

Link to comment
  • 4 months later...
  • 2 months later...
On 9/23/2021 at 10:44 PM, Corden said:

Hello! I would love if anyone else had some insight on this particular issue - whenever I create a google my maps it always has a blue header that says "this map was created by a user" is there any way to remove that/crop it?

Can you share link to page where you added map?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 weeks later...
On 9/24/2021 at 5:47 PM, tuanphan said:

Can you share link to page where you added map?

I have the same issue mentioned here and the code shared above didn't work. This is the link to my page:

www.montezelba.com/burgundy-provence

I need to add more maps in other pages so if it's possible to add custom css code that will apply to all of them it would be great!

Link to comment
On 10/6/2021 at 8:50 PM, nataliaesp said:

I have the same issue mentioned here and the code shared above didn't work. This is the link to my page:

www.montezelba.com/burgundy-provence

I need to add more maps in other pages so if it's possible to add custom css code that will apply to all of them it would be great!

Hi,

You mean remove blue bar on top of map (blue bar with share icon, zoom icon, text...)?

Add to Design > Custom CSS

div.embed-block .embed-block-wrapper {
    overflow: hidden;
}
iframe.embedly-embed {
    margin-top: -80px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Thank you! This worked

8 hours ago, tuanphan said:

Hi,

You mean remove blue bar on top of map (blue bar with share icon, zoom icon, text...)?

Add to Design > Custom CSS

div.embed-block .embed-block-wrapper {
    overflow: hidden;
}
iframe.embedly-embed {
    margin-top: -80px;
}

 

 

Link to comment
  • 1 year later...
On 3/25/2023 at 3:53 AM, HopelessNewbie said:

This is a pretty universal problem, huh?!?!?

I also have this problem when embedding a google map.

The relevant page is 

https://www.jomercerlondontherapy.com/contact

 

 

Screenshot 2023-03-24 at 20.49.56.png

The page doesn't exist. Can you check it again?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 months later...
On 6/15/2023 at 10:10 PM, thawk said:

hi @tuanphan i'm having a similar problem with the map name that appears at the top of the map. i tried your code but didnt see a difference, any suggestions?

the map is on my Contact page:

https://www.sankharapm.com/contact

map name.png

Use this CSS for your case (Design > Custom CSS)

/* remove map header */
div#block-yui_3_17_2_1_1686779440390_6068>div {
    overflow-x: hidden;
}
div#block-yui_3_17_2_1_1686779440390_6068 iframe {
    margin-top: -65px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 6 months later...
On 1/8/2024 at 2:02 AM, KLKLkl said:

Hi, can you clarify what you mean by add to Design > Custom CSS? Is that in the same code block that the map code is in? Novice here...

SS changed positions of CSS menu. You can follow this

image.png.e36d6e9506202daab38f18d75db15ae8.png

image.png.3a420e985d644fbea29cf54e3b207491.png

 

Then click Custom CSS

image.thumb.png.cd3a43ab9926c69db48159833dff5b94.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 month later...

Hi

I have the same problem and used your code, but it didn't work for me. Probably me as I have zero idea about coding! I'm using SS 7.1 and the latest Google My Maps. Has anything changed do you think?

Thank you for your help!

Link to comment
On 3/1/2024 at 8:58 PM, Yogtea said:

Hi

I have the same problem and used your code, but it didn't work for me. Probably me as I have zero idea about coding! I'm using SS 7.1 and the latest Google My Maps. Has anything changed do you think?

Thank you for your help!

You can share link to page where you use GG maps, we can check problem easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 weeks later...
On 3/29/2024 at 8:17 PM, JulianPirateAttack said:

Hi, can someone help me with the same problem?

https://sealion-halibut-mkdg.squarespace.com/situation

I'd like to remove the title and name from the embeded map (the 2nd one on the page).

Try this code to Website > Website Tools > Custom CSS

div#block-yui_3_17_2_1_1711704804450_161262>div {
    overflow-y: hidden;
}
div#block-yui_3_17_2_1_1711704804450_161262 iframe {
    position: relative;
    top: -100px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.