Remove google maps in contact us

SupportCategory: TA PlutonRemove google maps in contact us
Reintjuu asked 6 years ago

Is it possible to remove the google maps background in the contact us section and change it to another background image? More like the section in the ‘TA Portfolio‘ theme. And is it also possible to remove the phone and location icons? Here is the site if you don’t understand correctly: click.
Thanks in advance!

4 Answers
Rohit Staff answered 6 years ago

Hello, if you want to remove the Google Map, just insert “.gm-style { display: none; }” to Theme Options – Custom CSS area. To change the background color, just insert “.map-canvas { background-color: white !important; }”. Change “white” to the color you want or the image url. Thanks!

Reintjuu answered 6 years ago

Thanks! About te image url; what tag do I have to use? Replacing ‘white’ with an url doesn’t work. Is it also possible to remove the phone-icon and the location-pin beneath where the map should be?
Oh and by the way, the name and email input boxes are smaller than the comment box, is there a way to fix that too?
Sorry for all my questions, I really like this theme so I want to optimize it for my needs :)!

Rohit Staff answered 6 years ago

Hello, if you want to use background image, you need to use “background-image: url(“paper.gif”);” instead of¬†background-color. You can get more information here. To remove phone and location icon, just remove “<i class=”icon-phone”></i>” and “<i class=”icon-location”></i>” in the “template-home.php” file. For the last question, the comment box is designed lager than name and email input, it’s OK and not a bug. If you want to change the size, you need to modify some CSS. Now I can’t provide support for theme custom. Thanks for your understanding.

Reintjuu answered 6 years ago

I had figured out how to do these :), thanks anyways! It’s too bad about the comment box size. Is it also possible to access the WP_CONTENT_DIR instead of a direct link? Or do I have to provide the entire link to the image? If it’s possible, how can I do it? Thanks for your help so far!