Menu

Build a Joomla Website Forum

Free Joomla support for all and priority support for members.
  1. Gregory Ledger
  2. Priority Support
  3. Saturday, August 06 2016, 08:39 AM
  4.  Subscribe via email
Hi, everyone. I just included Joomla Drive's free responsive contact form. It is not responding to a jquery script that works every where else:
<pre class="line-numbers"><code class="language-markup">var $j = jQuery.noConflict(); // IMPORTANT: all jquery $() need to be $j()

$j(document).ready(function(){
//fix to adjust the margin of the #left-col if there is no article image (img.article_tall) on the page
if(!$j('body#article img.article_tall').length)
{
$j('#article #left-col').css('margin',0);
}
...//more code
//the above fix should work becasue the contact us article does not have an image with the class of article_tall
</code></pre>
so that if I create an article without the image class of article_tall which appears in the main column, the left column's normal margin (margin:478px 0 0 0) is changed to margin:0.

Upon including the joomla drive contact form module in the article page ( ) my "Contact us" article now shows up with the normal margin, which it shouldn't do.

I did try to force the issue by adding
<pre class="line-numbers"><code class="language-markup">
...

if($j('body#article div.moduletable_contactUs').length)
{
$j('#article #left-col').css('margin',0);
}
...//more code
</code></pre>

Joomla Drive does offer support or a forum, so I don't know if the problem lies with them or not.

To see the problem, go to the url and enter Review for the user and review for the password
References
  1. http://movemagdev.cloudaccess.net/contact
  Chicago, IL, USA
Visit 


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Free Joomla TutorialLearn Joomla for free with our 16 lesson, 2 hour course.

Get Started