Peacher
Forum Replies Created
-
Now i have:
<h3><a class="fancybox-inline" href="#Galleri_form_pop">Galleri</a></h3><div class="fancybox-hidden" style="display: none;"> <div id="Galleri_form_pop" style="width:400px;height:300px;"></div>Still doesnt work 🙁
Thanks for the reply.
So i use this code and the fancybox opens but doesnt contain anything:
<h3><a class="fancybox" href="<?php echo esc_url(#Galleri_form_pop); ?>"> <?php echo esc_attr($wl_theme_options['service_2_title']); ?></a></h3><div class="fancybox-hidden" style="display: none;"> <div id="Galleri_form_pop" style="autoDimensions:true;"> <?php echo do_shortcode('[gallery link="file"]'); ?> </div>Any obvious mistakes i have done?
Forum: Plugins
In reply to: [Firelight Lightbox] Easy Fancybox doesnt work on main pageAh great!! Thanks alot. Now it works excellent!
Forum: Plugins
In reply to: [Firelight Lightbox] Easy Fancybox doesnt work on main pageWell, i wont disagree with you since im not an experienced coder 🙂
On the main page i pasted it straight into the template file.However, I have now tried around a bit more pasting the same shortcode into the template file of the “page.php” on different locations, e.g. the template file that is used for the sample page. Hence i keep the first funnybox code on the sample page as is and paste yet another set of code into the page.php. The funny part now is that depending on where in the template file i paste the second shortcode it sometimes works and it sometimes actually messes upp even the first set of code.
Putting the second code at the end of the page.php file right before “<?php get_footer(); ?>” everything works fine, both the first funnybox and the second funnybox pops up fine with the contact form as it should. On the other hand, if i try putting the second code in the middle of the page.php file, right before the “leave a reply” part where the first funnybox is located, it doesnt work. And it actually makes the first funnybox stop working also (see the sample page now for example).
I guess it would be sufficient to just limit the width of the Carousel to 1368, would be grateful of getting tips of how i could do that.