<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>google map problem at header widget &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/feed/</link>
		<description></description>
		<lastBuildDate>Fri, 14 Nov 2025 10:06:47 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-118485</guid>
					<title><![CDATA[google map problem at header widget]]></title>
					<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-118485</link>
					<pubDate>Sat, 04 Oct 2014 15:47:20 +0000</pubDate>
					<dc:creator>cmadao</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>I’m trying to embed a google map at the Header Widget, as shown in integrity 1 demo.</p>
<p>I’ve the &lt;iframe&gt; code from google maps, and the code that is on the Header 2 widget area is:</p>
<p><code>[map]&lt;iframe src=&quot;https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3415.017601615931!2d-8.796166999999539!3d40.15508301240187!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0xd2248611f2c7c3b%3A0x9338c302336502ec!2sberry.pt!5e1!3m2!1spt-PT!2spt!4v1412436408634&quot; width=&quot;435&quot; height=&quot;350&quot; frameborder=&quot;0&quot; style=&quot;border:0&quot;&gt;&lt;/iframe&gt;[/map]</code></p>
<p>But, when I open the header widget area, the map is always with “full zoom out”, like this:</p>
<p><img decoding="async" src="http://www.berry.pt/support/map.png" alt="google map error" /></p>
<p>I&#8217;ve tried to add the zoom parameter (e.g. &amp;z=16&#8243;), but it does not change the zoom.</p>
<p>My site: <code>www.berry.pt</code></p>
<p>Thanks,<br />
Carlos</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-118610</guid>
					<title><![CDATA[Reply To: google map problem at header widget]]></title>
					<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-118610</link>
					<pubDate>Sat, 04 Oct 2014 23:13:47 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Thanks for posting in.</p>
<p>Map is dynamically generated based on it&#8217;s container size. If its container has no width or height, the map can&#8217;t calculate the proper zoom and position. Containers with no width or height are elements that were loaded hidden just like header widgets.</p>
<p>Add this code at your customizer&#8217;s custom javascript under <strong>Admin &gt; Appearance</strong>.</p>
<pre><code>jQuery(function($){ $(&#039;a.x-btn-widgetbar&#039;).click(function(){ 

var reloaded = $(this).data(&#039;map-reloaded&#039;);

if( reloaded !== true) {

var iframe = $( &#039;.x-widgetbar-inner .x-map iframe&#039; ).get(0);
iframe.src = iframe.src;

$(this).data(&#039;map-reloaded&#039;, true );

}

}); });</code></pre>
<p>Cheers!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-118964</guid>
					<title><![CDATA[Reply To: google map problem at header widget]]></title>
					<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-118964</link>
					<pubDate>Sun, 05 Oct 2014 23:48:10 +0000</pubDate>
					<dc:creator>cmadao</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks!! &#8230; Worked just fine 😉</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-119071</guid>
					<title><![CDATA[Reply To: google map problem at header widget]]></title>
					<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-119071</link>
					<pubDate>Mon, 06 Oct 2014 04:12:51 +0000</pubDate>
					<dc:creator>Rubin</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re welcome!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-120251</guid>
					<title><![CDATA[Reply To: google map problem at header widget]]></title>
					<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-120251</link>
					<pubDate>Tue, 07 Oct 2014 02:03:58 +0000</pubDate>
					<dc:creator>Samuel L</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>I&#8217;m having the same problem.  I&#8217;ve tried to find Admin &gt; Appearance and I&#8217;m not able to find this location.  I do see a place to enter custom javascript under Appearance &gt; Customize &gt; Custom.</p>
<p>However in that custom section, I have Google Analytics code in there.  Once I do put the code that you mention above, there is no change to the Google map.  I still have the same cut off and zoomed out look mentioned by cmadao.</p>
<p>I&#8217;m open to suggestions.  Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-120638</guid>
					<title><![CDATA[Reply To: google map problem at header widget]]></title>
					<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-120638</link>
					<pubDate>Tue, 07 Oct 2014 15:14:47 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Samuel,</p>
<p>Thanks for writing in! To assist you with this issue, we&#8217;ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. </p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-122201</guid>
					<title><![CDATA[Reply To: google map problem at header widget]]></title>
					<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-122201</link>
					<pubDate>Thu, 09 Oct 2014 13:36:17 +0000</pubDate>
					<dc:creator>Paolino N</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,<br />
My URL is <a href="http://www.radiofficine.it" rel="nofollow">http://www.radiofficine.it</a> and I am having exactly the same issue as Samuel L. explained above.<br />
Look forward to your kind feedback on this matter.<br />
Thanks,<br />
Paolino</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-122387</guid>
					<title><![CDATA[Reply To: google map problem at header widget]]></title>
					<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-122387</link>
					<pubDate>Thu, 09 Oct 2014 16:39:23 +0000</pubDate>
					<dc:creator>Cousett</dc:creator>

					<description>
						<![CDATA[
						<p>Can you confirm that you are fully updated? (Theme and Plugins)</p>
<p>The latest version of X is 2.6.0 and the x-shortcodes plugin is 2.5.0. Please verify you have both of these versions, they need to be in sync or Javascript issues can occur.</p>
<p>You can find the latest version numbers here: (<a href="http://theme.co/x/member/changelog/" rel="nofollow">http://theme.co/x/member/changelog/</a>) Then you can compare them to what&#8217;s installed on your site.</p>
<p>If you find anything to be out of date, you can review our <a href="http://theme.co/x/member/kb/updating-your-theme-and-plugins/" rel="nofollow">update guide</a>.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-126257</guid>
					<title><![CDATA[Reply To: google map problem at header widget]]></title>
					<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-126257</link>
					<pubDate>Thu, 16 Oct 2014 11:26:00 +0000</pubDate>
					<dc:creator>Paolino N</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,<br />
I double checked and have this running:<br />
&#8211; WordPress 4.0 running X &#8211; Child Theme: Integrity Light theme.<br />
&#8211; X Version: 2.6.0 By Themeco<br />
&#8211; X–Shortcodes Version 2.5.0 | By Themeco<br />
Look forward to your kind reply.<br />
Thanks,<br />
Paolino</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-126508</guid>
					<title><![CDATA[Reply To: google map problem at header widget]]></title>
					<link>https://theme.co/archive/forums/topic/google-map-problem-at-header-widget/#post-126508</link>
					<pubDate>Thu, 16 Oct 2014 17:17:32 +0000</pubDate>
					<dc:creator>Kosher K</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,</p>
<p>Upon checking on your Customizer Javascript, </p>
<p>I can see this code,</p>
<pre><code>&lt;script type=&quot;text/javascript&quot;&gt;

  var _gaq = _gaq || [];
  _gaq.push([&#039;_setAccount&#039;, &#039;UA-49877122-1&#039;]);
  _gaq.push([&#039;_trackPageview&#039;]);

  (function() {
    var ga = document.createElement(&#039;script&#039;); ga.type = &#039;text/javascript&#039;; ga.async = true;
    ga.src = (&#039;https:&#039; == document.location.protocol ? &#039;https://ssl&#039; : &#039;http://www&#039;) + &#039;.google-analytics.com/ga.js&#039;;
    var s = document.getElementsByTagName(&#039;script&#039;)[0]; s.parentNode.insertBefore(ga, s);
  })();

&lt;/script&gt;</code></pre>
<p>Please remove <code>&lt;script type=&quot;text/javascript&quot;&gt;</code> and <code>&lt;/script&gt;</code></p>
<p>You should only add something like this</p>
<pre><code>var _gaq = _gaq || [];
  _gaq.push([&#039;_setAccount&#039;, &#039;UA-49877122-1&#039;]);
  _gaq.push([&#039;_trackPageview&#039;]);

  (function() {
    var ga = document.createElement(&#039;script&#039;); ga.type = &#039;text/javascript&#039;; ga.async = true;
    ga.src = (&#039;https:&#039; == document.location.protocol ? &#039;https://ssl&#039; : &#039;http://www&#039;) + &#039;.google-analytics.com/ga.js&#039;;
    var s = document.getElementsByTagName(&#039;script&#039;)[0]; s.parentNode.insertBefore(ga, s);
  })();
</code></pre>
<p>Hope that clarifies,</p>
<p>Have a great day</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

