<?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>Lightbox with Button Form &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/lightbox-with-button-form/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/lightbox-with-button-form/feed/</link>
		<description></description>
		<lastBuildDate>Sun, 12 Oct 2025 03:33:58 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/lightbox-with-button-form/#post-18735</guid>
					<title><![CDATA[Lightbox with Button Form]]></title>
					<link>https://theme.co/archive/forums/topic/lightbox-with-button-form/#post-18735</link>
					<pubDate>Fri, 28 Feb 2014 03:01:23 +0000</pubDate>
					<dc:creator>Richard R</dc:creator>

					<description>
						<![CDATA[
						<p><img decoding="async" src="http://starshieldentertainment.com/construction/wp-content/uploads/2014/02/Screen-Shot-2014-02-27-at-8.57.52-PM.png" alt="What im talking about" /></p>
<p>Here is a pic of what I am getting for the lightbox.. I want to click the button (with the circle) and the lgithbox come up with the form..<br />
I have looked in other posts and i see one wehre you have a div tag with the contact short code in it and the picture above is what i get</p>
<pre><code>div id=&quot;my-content&quot;&gt;
 [contact-form-7 id=&quot;5&quot; title=&quot;Contact form 1&quot;]
&lt;/div&gt;

&lt;a href=&quot;#my-content&quot; class=&quot;lightbox-selector&quot; data-type=&quot;inline&quot;&gt;Click Me&lt;/a&gt;

[lightbox selector=&quot;.lightbox-selector&quot;]

[button href=&quot;#&quot; title=&quot;Get Started&quot; target=&quot;blank&quot; shape=&quot;rounded&quot; size=&quot;regular&quot; block=&quot;true&quot; circle=&quot;true&quot; icon_only=&quot;true&quot; info=&quot;popover&quot; info_place=&quot;top&quot; info_trigger=&quot;hover&quot; info_content=&quot;Contact Us or send us any questions you may have.. Dont Be Shy.. Lets do it!&quot;] Lets Get Started [/button]
[/column]</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/lightbox-with-button-form/#post-18887</guid>
					<title><![CDATA[Reply To: Lightbox with Button Form]]></title>
					<link>https://theme.co/archive/forums/topic/lightbox-with-button-form/#post-18887</link>
					<pubDate>Fri, 28 Feb 2014 17:49:39 +0000</pubDate>
					<dc:creator>Kory</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Richard,</p>
<p>Thanks for writing in! As stated in that original post, the <strong>[button]</strong> shortcode does not work in this manner as it does not allow you to launch HTML content since there&#8217;s no way to add the <strong>data-type=“inline&#8221;</strong> attribute to the link. To do this properly, you&#8217;d need to take all of the HTML output by your <strong>[button]</strong> and write it in manually and then add in the <strong>data-type=“inline&#8221;</strong> attribute yourself. Also, note how the <strong>class</strong> of the link is the same as the <strong>selector</strong> attribute on the <strong>[lightbox]</strong> shortcode and the <strong>href</strong> attribute on the link points towards the <strong>id</strong> of the <strong>&lt;div&gt;</strong> element containing the form. All of this is necessary for this particular setup to work.</p>
<pre class="prettyprint">&lt;div id="my-content"&gt;
 [contact-form-7 id="1985" title="Contact form 1"]
&lt;/div&gt;

&lt;div class="x-btn-circle-wrap x-btn-regular x-btn-block"&gt;
  &lt;a href="#my-content" class="x-btn x-btn-rounded x-btn-regular x-btn-block lightbox-selector" title="Get Started" data-toggle="popover" data-placement="top" data-trigger="hover" data-content="Contact Us or send us any questions you may have.. Dont Be Shy.. Lets do it!" data-type="inline"&gt; Lets Get Started &lt;/a&gt;
&lt;/div&gt;

[lightbox selector=".lightbox-selector"]</pre>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/lightbox-with-button-form/#post-18927</guid>
					<title><![CDATA[Reply To: Lightbox with Button Form]]></title>
					<link>https://theme.co/archive/forums/topic/lightbox-with-button-form/#post-18927</link>
					<pubDate>Fri, 28 Feb 2014 20:01:26 +0000</pubDate>
					<dc:creator>Richard R</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you for the reply.</p>
<p>With that code you prived the contact was on page AND in the button as a lightbox.. I figured out how to hide it on the page:</p>
<pre><code>&lt;div id=&quot;my-contentwedding&quot;style=&quot;display: none;&quot;&gt;
[column type=&quot;full&quot;]
[custom_headline style=&quot;text-transform: uppercase;&quot; level=&quot;h2&quot; looks_like=&quot;h4&quot; accent=&quot;true&quot;]Contact our Office[/custom_headline]
[contact-form-7 id=&quot;1517&quot; title=&quot;Contact Us&quot;]
[/column type]
&lt;/div&gt;

&lt;div class=&quot;x-btn-circle-wrap x-btn-regular x-btn-block&quot;&gt;
  &lt;a href=&quot;#my-contentwedding&quot; class=&quot;x-btn x-btn-rounded x-btn-regular x-btn-block lightbox-selector&quot; title=&quot;Get Started&quot; data-toggle=&quot;popover&quot; data-placement=&quot;top&quot; data-trigger=&quot;hover&quot; data-content=&quot;Contact Us or send us any questions you may have.. Dont Be Shy.. Lets do it!&quot; data-type=&quot;inline&quot;&gt; Lets Get Started &lt;/a&gt;
&lt;/div&gt;
[lightbox selector=&quot;.lightbox-selector&quot;]</code></pre>
<p>However, when the lightbox opens.. Its very thin and looks awkward. when the &#8221; style=&#8221;display: none;&#8221;&#8221; is in the original &#8220;&lt;div id=&#8221;my-contentwedding&#8221;&gt;&#8221; line  I even tied to contain the DIV with a full column and half but it doesnt do anything. But the problem is .. when that line isnt there.. the contact form shows in the page and when clicking the button</p>
<p>Thank you</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/lightbox-with-button-form/#post-19046</guid>
					<title><![CDATA[Reply To: Lightbox with Button Form]]></title>
					<link>https://theme.co/archive/forums/topic/lightbox-with-button-form/#post-19046</link>
					<pubDate>Sat, 01 Mar 2014 10:12:22 +0000</pubDate>
					<dc:creator>Rubin</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Richard, </p>
<p>it probably requires some tweaking since it&#8217;s something custom we do not ship out of the box if you need any more help with this let me know exactly the problem maybe with some visual reference to make it easier.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

