Support » Plugin: Visual Portfolio, Photo Gallery & Post Grid » Responsive Breakpoint

  • Resolved sjonvugt

    (@sjonvugt)


    Hi there,

    I’m currently using a grid layout with four columns. On mobile (screen<576px), there is only one column.

    I would like to keep a two-column layout a bit longer. Is it possible to change the mobile breakpoint?

    Best wishes,
    Sjon

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nK

    (@nko)

    Hey Sjon.

    You can only change it using custom CSS, which we don’t provide.

    Regards, nK.

    Thread Starter sjonvugt

    (@sjonvugt)

    I managed to change the breakpoint in functions.php:

    function update_mobile_breakpoint( $default_sm ) {
    	$default_sm = 400;
        return $default_sm;
    }
    add_filter( 'vpf_breakpoint_sm', 'update_mobile_breakpoint' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.