• Resolved vitsippa

    (@vitsippa)


    Hi, testing this plugin, but it doesn´t seem to be responsive, is that correct?! I use it together with the columns add-on and have three columns. But on mobile the columns still are there and just get really narrow and cramped, they do not change to 100% wide on top of each other like they would if they were responsive.
    If this is the case I can not use this plugin.

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

    (@billerickson)

    The base plugin (Display Posts Shortcode) provides no styling, so it’s up to your theme to determine how it looks.

    The Columns Extension is responsive (columns scale up and down as screen size changes) but it does not change the number of columns displayed at different viewports. In other words, if you use [display-posts columns="3"] it will display in three columns at all screen sizes.

    You can disable that extension plugin from adding its own CSS by adding this to your theme’s functions.php file:
    add_filter( 'dps_columns_extension_include_css', '__return_false' );

    Then add your own column class CSS to your theme so they look and work however you want. For instance, you could use this to make the columns go full width at <768px: https://gist.github.com/billerickson/65e290d7c9514a19cbad4675b661ee66

    You could also add additional media queries to make changes (ex: go from 4 columns on desktop to 2 columns on tablet).

    Thread Starter vitsippa

    (@vitsippa)

    Ok, I am spoilt by plugins that do all that work for me, but I understand a lot can be done with a bit of coding. Not for me this time. But I see it is popular so another time I might look at it again.

    Thanks for answer.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Is this plugin not responsive?!’ is closed to new replies.