Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Images in Responsive Grid View

$
0
0

Replies: 0

Hi,

First, thanks for your great plugin. Every time I think there is something it can’t do, I discover that you’ve actually done it and documented it somehwere.

I was able to make minor changes to the Custom CSS for a grid view of the list to get pretty close to what I am trying to do. But there are two things I am still trying to figure out:

  • I’d like to have each of the records in the grid display as a square image with the linked record name below. This works for the majority of records, but not all of the images associated with my records are squares…and a couple of them are low resolution. Is there a way to set the container for the image to always be a square (even if that means sometimes there is white space around the image)? Right now, I have made this edit to your sample code: `/* sets the size of the image element */
    .pdb-list-grid .pdbiex-image-field-wrap,
    .pdb-list-grid .image-field-wrap img {
    width: 100%;
    height: 100%;`
  • In some cases there is no image with the record. Is there a way to set a default image that only displays in this grid view?

Thanks!


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>