Forum Replies Created
-
AuthorPosts
-
Hello Basilis!
Thank you very much, it works now!
Just a simple error in syntax :)This reply has been marked as private.Hi Ismael.
I alredy tried same code before and for some reason it not working.
Separartly function for //$(‘.inline_popup’).magnificPopup// and for //$(‘.inline_popup a’).magnificPopup// works fine, but not together .
//inline_popup// trigers works ok
//inline_popup a// hides main content but not shows popup window.
http://leolombard.kz/test21/Hello Elliott.
Thank you for helping me.
With your code it start it to work with button, but stop work for not.inline_popup
a cases.
Please provide the code where this two situation can be united:$('.inline_popup a').magnificPopup
and$('.inline_popup').magnificPopup
Here is example page http://leolombard.kz/test21/
Button module start the in-line light box, but the content is not showing upHere is how fuction.php (child) looks now
<?php add_theme_support('avia_template_builder_custom_css'); function inline_popup_enabler(){ ?> <script> (function($){ $(window).load(function() { $('.inline_popup').magnificPopup({ type:'inline', midClick: true }); }); })(jQuery); </script> function ava_custom_script(){ ?> <script> (function($){ $('.inline_popup a').addClass('inline_popup'); })(jQuery); </script> <?php } add_action('wp_footer', 'inline_popup_enabler'); add_action('wp_footer', 'ava_custom_script');
Hello Ismail.
Thank you very much.
I paste this code in my child function.php. but there is some error.I’m glad that it helped :)
The main goal is to use Button Element with working Popup lightbox.
If it’s hard to set, i could use the code to build similar button element.Hello Rikard.
Thank you very much for reply.
I made a test page on english for better understanding
http://leolombard.kz/test21/In page body there are two triggers to engage Magnific Popup both using equal code.
First one is working, second is not.Could anyone help me with this problem, please?
Guys, i still need the help.
Hello again.
Just pull the topic up. In last few days there are so many questions to you guys.
Thanks for your attention.Hi Yigit.
Thank you this exactly what i’m looking for. My question solved.
Thank you again for your work.Hi this not exactly what i’m looking for.
If setup the custom Header size 150 px and choose: “Shrinking Headr” the menu will shrink to half size (150px / 2) after scrolling.
i would like to change this ratio, so after user scrolls the menu shrinks to 70% of origin size.Hi Rikard.
My site is still in development, so nothing to see.
I want to make it lager. 70% from selected Header Size size.
So if in Header Size set 150px, when user start scroll the menu shrink to 70%*150=105px -
AuthorPosts