nycmonkey Posted October 28, 2019 Share Posted October 28, 2019 I'm working on my site: http://vedranm.com I have added a CSS code to show the Image Title and Descriptions under the Gallery images. I will paste that code below. But for whatever reason, the images now seem to be off-center, so the titles and descriptions below it don't look centered and aligned. Let me know please if someone has a suggestion how to fix this? .collection-type-gallery #slideshowWrapper .image-description { text-align: center; width: 100%; padding: 10px 0px 0; background: #fff; display: block; position: relative; bottom: 0px; margin-top: 0px; margin-bottom: 25px; } .collection-type-gallery #slideshowWrapper .sqs-gallery-design-stacked-slide img { max-height: 90%; width: auto !important; margin: 0 auto !important; margin-left: auto; margin-right: auto; top: 0 !important; } .collection-type-gallery #slideshowWrapper .sqs-gallery-design-stacked-slide .sqs-video-wrapper.video-fit { position: sticky; max-height: 100%; width: 800px !important; margin: auto; top: 50%; left: 50%; transform: translate(0%, 0%); right: auto !important; } .collection-type-gallery #slideshowWrapper .sqs-gallery-design-stacked-slide .sqs-video-wrapper.video-fit .intrinsic-inner { text-align: center; } Link to comment
tuanphan Posted October 28, 2019 Share Posted October 28, 2019 Remove width: auto in .collection-type-gallery #slideshowWrapper .sqs-gallery-design-stacked-slide img Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
nycmonkey Posted October 28, 2019 Author Share Posted October 28, 2019 wonderful! thank you! Link to comment
joshakatz Posted January 13, 2020 Share Posted January 13, 2020 Thank you for sharing this. I added it to my custom CSS and I'm now able to see captions/titles below my photos but I have one issue. I have some of the descriptions set as links but the links are not clickable. does anyone have any idea on how to add that functionality back in using this script? thanks Josh (joshakatz.com) Link to comment
tuanphan Posted January 16, 2020 Share Posted January 16, 2020 On 1/13/2020 at 7:47 AM, joshakatz said: Thank you for sharing this. I added it to my custom CSS and I'm now able to see captions/titles below my photos but I have one issue. I have some of the descriptions set as links but the links are not clickable. does anyone have any idea on how to add that functionality back in using this script? thanks Josh (joshakatz.com) can you share link & take screenshot? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
gbaker Posted April 27, 2020 Share Posted April 27, 2020 Thanks for sharing this! I added this script to my website and love the way it looks. Question: I'm interested in moving the image description to a second line, centered below the image title: Does anyone have a suggestion? Current Script below: .collection-type-gallery #slideshowWrapper .image-description { text-align: center; width: 100%; padding: 10px 0px 0; background: #fff; display: block; position: relative; bottom: 0px; margin-top: 0px; margin-bottom: 25px; } .collection-type-gallery #slideshowWrapper .sqs-gallery-design-stacked-slide img { max-height: 90%; margin: 0 auto !important; margin-left: auto; margin-right: auto; top: 0 !important; } .collection-type-gallery #slideshowWrapper .sqs-gallery-design-stacked-slide .sqs-video-wrapper.video-fit { position: sticky; max-height: 100%; width: 800px !important; margin: auto; top: 50%; left: 50%; transform: translate(0%, 0%); right: auto !important; } .collection-type-gallery #slideshowWrapper .sqs-gallery-design-stacked-slide .sqs-video-wrapper.video-fit .intrinsic-inner { text-align: center; } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.