• Resolved af3

    (@af3)


    I realized that the plugin has a fb-lighbox class. I’d like to use it for the “view other users prediction”. I managed to add the class in the plugin “add stats link to match view”, but the lightbox actually show the whole page .. i’d like to just show the DIV main container but not sure where is this page being generated to remove those. Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH

    (@antoineh)

    The page is a normal WP Page, so you’ll have to change the templates of your theme for this. But since that will also have effect on your other pages / parts of your website, I wouldn’t recommend going that way.

    But there is another option: When you use the “.fp-lightbox” class then the content will be loaded in a Colorbox lightbox and that content is wrapped in a div with ID “cboxContent”. Which means you should be able to remove unwanted elements with CSS.

    e.g. something like

    #cboxContent .entry-header, 
    #cboxContent .site-footer {
      display: none;
    }

    Exact elements and class names that you need to hide, are of course dependent on your theme.

Viewing 1 replies (of 1 total)
  • The topic ‘show other user prediction in lightbox’ is closed to new replies.