Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1232

    I have a question about the slider. I like the slider layout a lot, but one issue I find is that when you put a full sized image in it (filling the whole slider), the overlayed text can be really hard to read. I think that text area really needs some type of a semi-transparent background to help the text stand out more. Is this something that can be added?

    #34495

    You could modify your CSS file wp-content/themes/twicet/style.css and add the following to the bottom

    .featured_text { background-color: rgba(0, 0, 0, 0.3); }

    Though that is pretty progressive, and is not supported in some older browsers. If you are concerned about supporting older browsers you could make a semi-transparent png in Photoshop (or similar program) and set it as the background like this:

    .featured_text { background-image: url(/url/to/your/png); }

    Does this help, if you have anymore questions let me know.

    #34496

    Thanks, I will give the second option a try if it’s more compatible.

    #34497

    Glad that Noah could help you.

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

The topic ‘Slider background questions’ is closed to new replies.