-
AuthorPosts
-
June 2, 2018 at 6:15 pm #965923
Hi, I have checked enable cookie consent bar but does not show.
https://markpostlaw.com.
Coming soon page is on but login is below
thanks,
Buddy
You need to add a simple modal window to media elements in Enfold theme like Avada has.June 3, 2018 at 7:15 am #966060Hey buddy1,
Thanks for the the login details. The Cookie Consent box is showing fine on my end though, did you try to clear your browser cache or try a different browser?
This is a notification that can be used for cookie consent or other important news. It also got a modal window now! Click “learn more” to see it!
OK Learn More
Best regards,
RikardJune 3, 2018 at 11:55 am #966107Thanks, I should have tried that. Works great. I would like to have a modal like that to pop up when one clicks on ‘Get a free case evalation’. How can I do that?
thanks,
BuddyJune 3, 2018 at 12:32 pm #966113Hi,
I made a copy of your button in a code block under your current button so it would have the URL “#test-popup” and the class “open-popup-link”:<div class="avia-button-wrap avia-button-center avia-builder-el-9 el_after_av_heading avia-builder-el-last "><a href="#test-popup" class="open-popup-link avia-button av-icon-on-hover avia-icon_select-yes-right-icon avia-color-custom avia-size-large avia-position-center " style="background-color:#ffffff; border-color:#ffffff; color:#000000; "><span class="avia_iconbox_title">GET A FREE CASE EVALUATION</span><span class="avia_button_icon avia_button_icon_right" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span></a></div>
Then I added your popup in a code block at the bottom of the page, you will need to add some content:
<div id="test-popup" class="white-popup mfp-hide"> <div>Your message goes here</div> </div>
Then I added this css in your child theme stylesheet:
.white-popup { position: relative; background: #FFF; padding: 20px; width: auto; max-width: 500px; margin: 20px auto; }
Then I added this function to your child theme functions.php:
function popup_inline() { ?> <script type="text/javascript"> jQuery(window).load(function(){ jQuery('.open-popup-link').magnificPopup({ type:'inline', midClick: true }); }); </script> <?php } add_action('wp_head', 'popup_inline');
Then I cleared your site cache, please take a look and add your content to the popup.
Best regards,
MikeJune 3, 2018 at 12:36 pm #966114Great! thanks so much. Will work on it today.
Thanks again for quick great support.
BuddyJune 3, 2018 at 1:14 pm #966116Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
And if there are features that you wish Enfold had, you can request them and vote the requested ones here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Cookie consent message bar not showing’ is closed to new replies.