<?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>Theme breaking my javascript &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/theme-breaking-my-javascript/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/feed/</link>
		<description></description>
		<lastBuildDate>Wed, 05 Nov 2025 00:21:25 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84091</guid>
					<title><![CDATA[Theme breaking my javascript]]></title>
					<link>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84091</link>
					<pubDate>Wed, 13 Aug 2014 22:33:37 +0000</pubDate>
					<dc:creator>Branko K</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m trying to add the following script to my site latour-vail.com/newsite:<br />
<code>&lt;script type=&quot;text/javascript&quot; src=&quot;https://secure.opentable.com/frontdoor/default.aspx?rid=2643&amp;restref=2643&amp;bgcolor=000000&amp;titlecolor=ededed&amp;subtitlecolor=ededed&amp;btnbgimage=https://secure.opentable.com/frontdoor/img/ot_btn_red.png&amp;otlink=FFFFFF&amp;icon=light&amp;mode=wide&amp;hover=1&quot;&gt;&lt;/script&gt;&lt;a href=&quot;http://www.opentable.com/la-tour-reservations-vail?rtype=ism&amp;restref=2643&quot; class=&quot;OT_ExtLink&quot;&gt;La Tour (2643), Denver / Colorado Reservations&lt;/a&gt;</code></p>
<p>Using the Raw JS shortcode, the result is supposed to look like this (except for the colors):<br />
<img decoding="async" src="http://i58.tinypic.com/ih0ht0.png" alt="OpenTable Booking Widget" /></p>
<p>But instead the layout gets all broken:<br />
<img decoding="async" src="http://i59.tinypic.com/2iitndl.png" alt="Broken OpenTable booking widget" /></p>
<p>I&#8217;ve read you don&#8217;t provide support for third party elements, but the code seems just fine to me and we&#8217;ve used it just fine with other themes. I talked to OpenTable people, too, and they haven&#8217;t seen this happen before. Would you have a tip for me on how to fix this?</p>
<p>Looking forward to hearing from you,<br />
Branko</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84123</guid>
					<title><![CDATA[Reply To: Theme breaking my javascript]]></title>
					<link>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84123</link>
					<pubDate>Wed, 13 Aug 2014 23:03:32 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Branko,</p>
<p>Thanks for writing in!</p>
<p>Do this instead of adding it in customizer&#8217;s custom javascript.</p>
<p>Add this code at your child theme&#8217;s functions.php</p>
<pre><code>add_action(&#039;wp_footer&#039;, function(){ ?&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;https://secure.opentable.com/frontdoor/default.aspx?rid=2643&amp;restref=2643&amp;bgcolor=000000&amp;titlecolor=ededed&amp;subtitlecolor=ededed&amp;btnbgimage=https://secure.opentable.com/frontdoor/img/ot_btn_red.png&amp;otlink=FFFFFF&amp;icon=light&amp;mode=wide&amp;hover=1&quot;&gt;&lt;/script&gt;&lt;a href=&quot;http://www.opentable.com/la-tour-reservations-vail?rtype=ism&amp;restref=2643&quot; class=&quot;OT_ExtLink&quot;&gt;La Tour (2643), Denver / Colorado Reservations&lt;/a&gt;

&lt;?php }, 9999999 );</code></pre>
<p>Hope this helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84219</guid>
					<title><![CDATA[Reply To: Theme breaking my javascript]]></title>
					<link>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84219</link>
					<pubDate>Thu, 14 Aug 2014 02:25:30 +0000</pubDate>
					<dc:creator>Branko K</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you!</p>
<p>So I add this in my child theme&#8217;s functions.php, and then also add the original piece of code through Add Raw Javascript shortcode?</p>
<p>And what is it that was causing the problem?</p>
<p>Have a great one!<br />
Branko</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84222</guid>
					<title><![CDATA[Reply To: Theme breaking my javascript]]></title>
					<link>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84222</link>
					<pubDate>Thu, 14 Aug 2014 02:30:42 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Branko,</p>
<p>The issue could be from another styling or script, so calling it to the very last may solve it. But not 100% since it&#8217;s a 3rd party plugin.</p>
<p>You don&#8217;t have to use raw javascript shortcode anymore when the code is added.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84771</guid>
					<title><![CDATA[Reply To: Theme breaking my javascript]]></title>
					<link>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84771</link>
					<pubDate>Thu, 14 Aug 2014 19:20:45 +0000</pubDate>
					<dc:creator>Branko K</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the insight.</p>
<p>Looking at your piece of code, am I right expecting that it will add the reservations widget into the footer? I&#8217;m making a long one-page navigation site and I need to be able to set which section it will appear in. It&#8217;s not meant to be in the footer.</p>
<p>Hope I&#8217;m asking a good question here,<br />
Branko</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84800</guid>
					<title><![CDATA[Reply To: Theme breaking my javascript]]></title>
					<link>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84800</link>
					<pubDate>Thu, 14 Aug 2014 19:57:45 +0000</pubDate>
					<dc:creator>Alexander</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Branko,</p>
<p>Sometimes linking the javascript through the footer, will resolve script conflicts. From the looks of this now, its more of a CSS conflict. Your third party plugin isn&#8217;t using specific enough styling, so some of the general theme styling is bleeding through.</p>
<p>Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer&#8217;s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.</p>
<p>Thank you for your understanding.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84810</guid>
					<title><![CDATA[Reply To: Theme breaking my javascript]]></title>
					<link>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84810</link>
					<pubDate>Thu, 14 Aug 2014 20:08:40 +0000</pubDate>
					<dc:creator>Branko K</dc:creator>

					<description>
						<![CDATA[
						<p>I see. The bad thing is that the original developer does not have support as epic as yours. I&#8217;ll put it inside the footer I guess. Thanks for your time!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84840</guid>
					<title><![CDATA[Reply To: Theme breaking my javascript]]></title>
					<link>https://theme.co/archive/forums/topic/theme-breaking-my-javascript/#post-84840</link>
					<pubDate>Thu, 14 Aug 2014 20:37:47 +0000</pubDate>
					<dc:creator>Kosher K</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,</p>
<p>You may want to add this code in Customizer -&gt; Custom -&gt; CSS</p>
<pre><code>#OT_form * {
	box-sizing: content-box;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
}
.OT_title {
	font-family: Arial;
	font-weight: bold;
}
.OT_subtitle {
	font-family: Arial;
}
.OT_wrapper input {
	background-color: #fff;
	height: auto;
	font-size: 12px;
}</code></pre>
<p>Hope that helps</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

