Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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.

    #966060

    Hey 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,
    Rikard

    #966107

    Thanks, 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,
    Buddy

    #966113

    Hi,
    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,
    Mike

    #966114

    Great! thanks so much. Will work on it today.
    Thanks again for quick great support.
    Buddy

    #966116

    Hi,
    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Cookie consent message bar not showing’ is closed to new replies.