google map

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Mar 14, 2013 12:23 pm
Reply with quote
Report this post
Hello
how to insert a module with a google map, instead of the big photo on the top of the template
For instance, as herein
http://preview.ait-themes.com/index.php?bartype=desktop&theme=directory
thanks
User avatar
Junior Boarder

GK User
Thu Mar 14, 2013 7:53 pm
Reply with quote
Report this post
Hi, I 'll give you few tips:

1) Use Google module - publish it in "header" position
2) Overwrite css using this code:
Code: Select all
#gkHeaderMod {padding: 0px;}
User avatar
Platinum Boarder

GK User
Thu Mar 14, 2013 8:46 pm
Reply with quote
Report this post
Thank you, just write where you enter this code.
User avatar
Junior Boarder

GK User
Fri Mar 15, 2013 8:56 pm
Reply with quote
Report this post
Hi, all Gavick template have overwrite options in template configuration.

Template Manager: Edit Style --> Advanced settings TAB --> Custom CSS code [ ...... here .....] + SAVE
User avatar
Platinum Boarder

GK User
Sat Mar 16, 2013 3:28 am
Reply with quote
Report this post
Thank you!!!
User avatar
Junior Boarder

GK User
Wed Sep 11, 2013 5:16 pm
Reply with quote
Report this post
How do you get this google map at full (100%) width in creative template?
User avatar
Fresh Boarder

GK User
Wed Sep 11, 2013 8:16 pm
Reply with quote
Report this post
1) Where? on which module position ?
2) In Google search bar "responsive google maps" [enter]
User avatar
Platinum Boarder

GK User
Sat Sep 14, 2013 11:21 am
Reply with quote
Report this post
in the header module position. In fact in any module position that will allow me to make it 100% width
User avatar
Fresh Boarder

GK User
Sat Sep 14, 2013 12:59 pm
Reply with quote
Report this post
Sure, no problem
Code: Select all
#gkHeaderMod {
    max-width: 100% !important;
}


I tried with wide image and looks okey.
header-100-long.png


About google maps you have to add elastics width and height code to make it work.
User avatar
Platinum Boarder

GK User
Wed Sep 18, 2013 9:15 am
Reply with quote
Report this post
this does not work. there is a padding issue on left and right side and I cannot find the css to change this, nor does the custom ccs in the template manager. I have included a screen shot showing that the map does not extend 100% to the page width.
User avatar
Fresh Boarder

GK User
Wed Sep 18, 2013 3:45 pm
Reply with quote
Report this post
Use firebug to check or add here URL, when I used picture in this position I didn't saw any paddings.
Check also your module code, is there any <p> .... </p>, <span>...</span> ?
If yes, use <div> instead.
User avatar
Platinum Boarder

GK User
Wed Sep 18, 2013 3:46 pm
Reply with quote
Report this post
I have included a screen shot showing that the map does not extend 100% to the page width.


What map width you added? in px or % ?

Did you used Google Maps module or Custom HTML Module and code from google?
User avatar
Platinum Boarder

GK User
Thu Sep 19, 2013 1:39 pm
Reply with quote
Report this post
I use BT Maps (better functionality) and used 100% width. And believe me I have tried using firebug, but if I change the padding then it affects the entire page layout. Please view here: http://197.242.79.18/~wwwafrip/index.php/contact-us (its in id=gkHeaderTop). You will see my code is correct. Its an issue with the way the template is built.
User avatar
Fresh Boarder

GK User
Thu Sep 19, 2013 8:34 pm
Reply with quote
Report this post
Its an issue with the way the template is built.


This is not issue this is feature - as Steve Jobs said ;)

DEFAULT CODE
Code: Select all
body {  padding: 0 20px; }



I SUGGEST to CHANGE TO
Code: Select all
body { padding: 0px; }
User avatar
Platinum Boarder

GK User
Fri Sep 20, 2013 12:41 pm
Reply with quote
Report this post
Where do I change this, because it seems to be inline styling, changing this on the template.css makes no difference?
User avatar
Fresh Boarder

GK User
Fri Sep 20, 2013 4:42 pm
Reply with quote
Report this post
1) http://www.gavick.com/documentation/joo ... -template/

2) if won't help, use can also use

Code: Select all
body { padding:0 !important; }


Remember to refresh few times your browser!
User avatar
Platinum Boarder


cron