Jump to content

Wexley Template Captions Alignment

Recommended Posts

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;
}

 

 

screenshot_vedranmisic.png

Link to comment
  • Replies 5
  • Views 1.3k
  • Created
  • Last Reply
  • 2 months later...

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
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
  • 3 months later...

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: 

image.thumb.png.cbd5b031fc32f743f4a2eeb98051cec4.png

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.