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

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

Viewing 2 reply threads
  • Author
    Posts
    • #8486
      damein liu
      Participant

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

    • #8487
      RavanH
      Keymaster

      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.

    • #8490
      damein liu
      Participant

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

Viewing 2 reply threads
  • You must be logged in to reply to this topic.