- This topic has 1 reply, 2 voices, and was last updated 5 years, 11 months ago by Hash.
- AuthorPosts
- January 25, 2018 at 2:08 am #4653chuangchouParticipant
Hello,
I’m wondering how to make the background of the homepage slider darker.
I tried editing the following in the style.css file:
—
.sq-slide-caption{
position: absolute;
top: 50%;
left: 50%;
width: 650px;
margin-left: -325px;
background: rgba(0,0,0,0.2);
padding: 40px;
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
border-left: 3px solid #5BC2CE;
border-right: 3px solid #5BC2CE;
—and changing the background: rgba from 0,0,0,0.2 to 0,0,0,0.8, but that didn’t make any visible difference.
Any ideas? Thanks.
February 12, 2018 at 12:02 am #4690HashKeymasterThe above code should make the background of the caption text darker. There is no way to make the slider image darker.
The better way would be to use some photo editor tools like photoshop to make the image darker and then upload it again.
- AuthorPosts
- You must be logged in to reply to this topic.