White background on sides in slider

Hi.

Before I ask my question I want to compliment the moderators of the forum for providing good and solid answers to queries. Now for the question: I have the slider activated and I want to change the color of the white background that generates to the sides of pictures when they’re not big enough - but I can’t find the place to change it. See attachment.

Best regards.

Hi @vignir,

I hope you are well today and thank you for your question and thanks for your compliment.

You can change the color of that slider background by adding the following CSS code in the Custom CSS option of the latest version of Sparkling theme on the below path.

Admin Area -> Appearance -> Customize -> Sparkling Options -> Other -> Custom CSS

.flexslider .slides {
    background: #000;
}

Please change the color value in the above code to whatever you want to use by referring the following pages.

http://www.w3schools.com/html/html_colors.asp
http://www.w3schools.com/html/html_colorvalues.asp
http://www.w3schools.com/tags/ref_colorpicker.asp

Best Regards,
Movin

It worked! Thank you Movin.

Can you tell me if there is any way for me to have a fixed size on the slider?

Best.

You are most welcome here :slight_smile:

Can you tell me if there is any way for me to have a fixed size on the slider?

You can try achieving this by adding the following CSS code in the Custom CSS option of the latest version of Sparkling theme on the below path.

Admin Area -> Appearance -> Customize -> Sparkling Options -> Other -> Custom CSS

.home .flexslider {
    max-height: 550px;
    overflow: hidden;
}

Please change the height value 550px in the above code to whatever you want to set.