Support » Plugin: Awesome Filterable Portfolio » Enable prev/next & setting ColorBox max height

  • Thought this may help someone…

    Enable prev/next buttons and setting ColorBox height to 95% of viewport to ensure it fits the visible window space:


    jQuery(document).ready(function($) {
    // $(“.colorbox”).colorbox(); //original line
    $(“.colorbox”).colorbox({rel:”colorbox”, maxHeight:”95%”}); //edited

    of course … if the plugin is updated you have to re-apply the patch


  • The topic ‘Enable prev/next & setting ColorBox max height’ is closed to new replies.