Jump to content

Remove Gray Background Around Gallery Block/Change Image Title Font Size/

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Site URL: http://www.frankmeuschke.com

Hi,

Got some help regarding various Gallery Block issues, but three things remain to be solved. I'm hoping for some CSS help on the below:

  • There is a light gray fill around some or most images in the Gallery Block. I'd like that to disappear, if possible.
  • I'd also like to shrink the font of the title of each image.
  • I'd like the image change arrows to disappear when not hovering over image.

Thank you!

 

Screen Shot 2022-01-21 at 10.30.05 AM.png

  • Solution
Posted

Add to Design > Custom CSS

/* gallery block gray color */
.slide, .sqs-gallery, .gallery-block {
    background-color: white;
}
/* gallery caption */
.meta-title {
    font-size: 14px !important;
}
/* Show hide arrows */
a.previous, a.next {
    visibility: hidden;
}

.gallery-block:hover a.previous, .gallery-block:hover a.next {
    visibility: visible;
}

 

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!)

Posted
On 1/25/2022 at 3:21 AM, tuanphan said:

Add to Design > Custom CSS

/* gallery block gray color */
.slide, .sqs-gallery, .gallery-block {
    background-color: white;
}
/* gallery caption */
.meta-title {
    font-size: 14px !important;
}
/* Show hide arrows */
a.previous, a.next {
    visibility: hidden;
}

.gallery-block:hover a.previous, .gallery-block:hover a.next {
    visibility: visible;
}

 

Thank you -will give it a try now.

Posted
On 1/25/2022 at 3:21 AM, tuanphan said:

Add to Design > Custom CSS

/* gallery block gray color */
.slide, .sqs-gallery, .gallery-block {
    background-color: white;
}
/* gallery caption */
.meta-title {
    font-size: 14px !important;
}
/* Show hide arrows */
a.previous, a.next {
    visibility: hidden;
}

.gallery-block:hover a.previous, .gallery-block:hover a.next {
    visibility: visible;
}

 

Works great -thank you! Just one remaining thing -although 90% pf the gray is gone, there is still a light gray band at the bottom of the images in the gallery block. See attached.

Screen Shot 2022-01-26 at 6.11.06 PM.png

Posted
On 1/27/2022 at 7:14 AM, Frank_Mound said:

Works great -thank you! Just one remaining thing -although 90% pf the gray is gone, there is still a light gray band at the bottom of the images in the gallery block. See attached.

Screen Shot 2022-01-26 at 6.11.06 PM.png

Add this CSS (don't remove above CSS)

.sqs-gallery-block-slideshow {
    background-color: white;
}

 

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!)

Posted
6 hours ago, tuanphan said:

Add this CSS (don't remove above CSS)

.sqs-gallery-block-slideshow {
    background-color: white;
}

 

Wonderful! You're a savior. Curious about how CSS works since this new set of lines nearly repeats the previous CSS line below:

/* gallery block gray color */
.slide, .sqs-gallery, .gallery-block {
    background-color: white;

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.