jessewaugh Posted May 22, 2013 Share Posted May 22, 2013 Is there anyone out there who can tell me how to change the color of a gallery block background? Code would be okay, but I don't have a developer account / access. Basically I would like a black background behind the images in the gallery. Or dark gray. Link to comment
BrianWhittaker Posted November 4, 2013 Share Posted November 4, 2013 I'm also looking for a way to achieve this. Link to comment
Guest Posted November 13, 2013 Share Posted November 13, 2013 You can accomplish this with CSS by changing the color of the .sqs-gallery-block-slideshow. Add the following to your CSS: .sqs-gallery-block-slideshow { background-color: rgba(255,255,255,0); } The above will set it to transparent. You can replace "rgba(255,255,255,0)" with anything you'd like to set the color to whatever you'd like. Link to comment
mdurussel Posted November 13, 2013 Share Posted November 13, 2013 Also, a good "color picker" site is: http://www.colorpicker.com. You would just change the first three "255" values to red, green and blue respectively. The last value, "0", ranges from 0 to 1 (1 being visible and 0 being transparent). So if you wanted to use red that was half transparent, you would use: rgba(255, 0, 0, 0.5); Hey there. Link to comment
KPAN Posted December 12, 2014 Share Posted December 12, 2014 Hi, I have the same problem and I was wondering if you could give me a step by step on how/where to insert that code? I have no experience in using coding in any way but I do want to change the background colour of my images to white or transparent (it's currently light grey). Thank you. Link to comment
mrwindupbird89 Posted January 19, 2015 Share Posted January 19, 2015 That code goes in the Custom CSS area. Here's the code modified to white rather than transparent (just replaced the last 0 with a 1): .sqs-gallery-block-slideshow { background-color: rgba(255,255,255,1); } Link to comment
sergiocasado Posted January 20, 2015 Share Posted January 20, 2015 Hi I tried the code above and did not work for my page gallery block... Is there something else we need to insert in the CCS editor at the beg or end along with the code provided? THANKS! Link to comment
Guest Posted February 20, 2015 Share Posted February 20, 2015 Anyone know if this can be used to for a background image? Link to comment
juanita187 Posted February 2, 2016 Share Posted February 2, 2016 Thank you so much for this code:.sqs-gallery-block-slideshow { background-color: rgba(255,255,255,1); } This worked perfectly on Flatiron template! Link to comment
tobydog20 Posted March 25, 2016 Share Posted March 25, 2016 I was having trouble with it working b/c I inserted it into the "advanced" settings tab of the specfic page with the gallery block. Instead, I was able to get it to work by inserting the code under DESIGN > CUSTOM CSS with nothing additional. Link to comment
Anderswaltz Posted June 22, 2016 Share Posted June 22, 2016 Not working for me, for some reason Link to comment
AmuseCreative Posted August 26, 2016 Share Posted August 26, 2016 I'm trying to achieve a white or transparent background for summary and gallery lightbox slideshows... any suggestions... I'm using the Adirondack template Link to comment
AmuseCreative Posted August 27, 2016 Share Posted August 27, 2016 found this in the comments section of another similar question and it's worked for me .yui3-lightbox2 .sqs-lightbox-overlay { background: #FFFFFF; } Link to comment
Guest Posted February 8, 2017 Share Posted February 8, 2017 If you use a Grid Gallery Block, you can add this code to the Custom CSS panel .sqs-block:not(.sqs-block-html):not(.sqs-block-markdown){ background-color:white; padding-bottom:1px; } Hope it helps! Link to comment
StN Posted February 9, 2017 Share Posted February 9, 2017 hello, I tried this yesterday and it worked. But I later noticed that on 2 other pages, my "spacers" became white as well. Please can you help out with a code that will limit the white color change to only the gallery block background?Many thanks! Link to comment
katiepisarcik Posted March 2, 2018 Share Posted March 2, 2018 Same here! My gallery turned out nice but my spacers, footer logo, and footer social icons all had a white block background. Help! Link to comment
katiepisarcik Posted March 2, 2018 Share Posted March 2, 2018 @jcuvdb : This code above worked for my site! HOWEVER - my spacers, footer logo, and footer social icons all had a white block background. Any idea what is going on here? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.