Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1299019

    Hi!

    I am trying to add an overlay on the caption text and title of the fullscreen slider on my home page. I searched how to do it on the forum but with no luck.

    Could someone help me with the correct CSS code I need to use ?

    Thank you so much !!

    #1299158

    I am answering to myself, the following code I was looking for is the following :

    /* Added Overlay on Fullscreen silder caption content*/
    .avia-caption-content p {
      background: rgba(0,0,0,.2) !important;
    }
    
    /* Added Overlay on Fullscreen silder caption title*/
    .avia-caption-title {
      background: rgba(0,0,0,.2) !important;
    }

    Unfortunately it doesn’t overlay just the text but the entire line which isn’t really esthetic. If anyone has a solution that would be great!

    • This reply was modified 3 years, 6 months ago by 805ITS.
    #1299283

    Hi,

    Please try this CSS instead:

    .avia-caption-content p {
      background: rgba(0,0,0,.2) !important;
      display: initial;
    }

    Best regards,
    Rikard

    #1299332

    Perfect, thank you ! :-)

    #1299419

    Hi 805ITS,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to have an overlay on the caption text and title of the fullscreen slider?’ is closed to new replies.