Home Support Square How to make slider background darker?

This topic contains 1 reply, has 2 voices, and was last updated by  HashThemes 6 days, 8 hours ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4653

    chuangchou
    Participant

    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.

    #4690

    HashThemes
    Keymaster

    The 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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.