Hide inline content in the post, and only show in popup

Your Account / Forums / Easy FancyBox Pro / Hide inline content in the post, and only show in popup

  • Author
    Posts
    • August 7, 2017 at 7:09 am #8486

      Hi, RavanH,
      I want to know if the plugin can hide the inline content in the post, and only show in popup.

    • August 7, 2017 at 7:09 am #8487

      Hi Damein, the plugin will hide everything that is inside a div with class “fancybox-hidden”.

      So if you switch to the Text view tab in the post editor and wrap your inline content like this:

      
      <div class="fancybox-hidden">
      <div id="fancyboxID-1" class="hentry" style="width:460px;max-width:100%;">
      ...inline content here...
      </div>
      </div>
      

      Now the inline content (div with ID fancyboxID-1) will now be hidden and only show inside the light box.

      Note: do not give the inline content div itself the class fancybox-hidden because then it will also be hidden inside the light box too.

    • August 7, 2017 at 7:09 am #8490

      Thanks a lot!! RavanH.
      It works perfect!
      Awsome plugin and awsome service!!

  • You must be logged in to reply to this topic.