- This topic has 2 replies, 2 voices, and was last updated 8 years, 7 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP photo seller – Template 3 with long file names causes gaps in gallery
Tagged: gallery grid, grid display
Hi, I am using template 3 as I want the image name below the photo (shows the car number in the rally) however some of our files names are long enough to spill over to two lines and others fit on 1 line, this causes the grided tiles of the gallery to have gaps. Is there a way of truncating the name so its 20 characters for example, and then just ….. i.e
“33_Otago-rally 2016-AP_10-apr-16_128” becomes “33_Otago-rally 2016-…..”
link to the gallery here [http://actionimages.nz/?page_id=1246]
Cheers
Allan
Hi Allan,
Try the following:
1) Go and grab the following plugin:
http://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413
2) Then add the following CSS code in the settings of the above plugin:
.wps-gallery-template3-title{
height: 20px;
}
Thanks Peter – It worked perfectly