Link to home
Start Free TrialLog in
Avatar of Member_2_7970041
Member_2_7970041

asked on

How to get rid of those two tranparent stripes above and below Google Maps?

Hello!

I'm trying to customize my Joomla 3 template and I'm kinda stuck with an issue I don't know exactly how to resolve. There're two margins just above and just below Google Maps on homepage. And what happens is that video background is visible in those stripes.
I was told that I had the <div id="map"></div> inside of a <p></p>, to remove those <p></p>, because they have a margin. Meaning not to touch the div itself and also not to delete what's within those tags, just to delete the tags. It's all nice, but I don't have a clue where to find it, in which specific file. Here's the live site URL:

idevsky.com

Also I'm attaching a print screen in which I drew two red arrows to show exactly what I meant.
Avatar of Member_2_7970041
Member_2_7970041

ASKER

Sorry, looks like I forgot to attach a print screen, thanks!
Here it is! User generated imageI'm very open to dialogs. Why not?
ASKER CERTIFIED SOLUTION
Avatar of E C
E C
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for your reply!
So how the code should look in the end? Like this (please correct me if I'm wrong):

<div id="map">
    <p style="margin:0;"><iframe src="https://www.google.com/maps/d/embed?mid=1-bVo4tCI2bNdO1Ssj9CySDIWIJ0" width="1360" height="480"></iframe></p>
</div>

Open in new window


P.S. It's not hard to find it in a source code, but since it's a dynamic site, God knows where to change it.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Eric C,
You mean the code that I've changed? If so, then one step is done. Now the question is where to edit the code. It's easy to see homepage's source code, but I can't change it in a browser, of course.
Agreed. I am not familiar with Joomla's template structure, but it shouldn't be too hard to find. You'll need to look through the template files for your theme.
Actually, it was easier than I thought it would be! And that code is simply the code I'd got from Google Maps, which I then pasted into Custom HTML Joomla module, which generates the Google Map itself! So I've changed the code and everything is great now! I didn't have to change a source code, just the code in a Joomla module.
Thanks a lot!!!
P.S. You can't see it yet on my live site, since I've just did it on a localhost, but I'll be updating live site soon too.