Add shadow to slider title and text in Bistro Theme

Home Forums All Other Themes Add shadow to slider title and text in Bistro Theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #98237
    alex_frnzalex_frnz
    Participant
    • Topics: 9
    • Replies: 34
    • Total: 43
    Member since: March 19, 2018

    hello.

    please help me to edit Bistro PRO Theme for my website www.coob.ro

    please tell me if is it any way to add a shadow to the title and to the description text in the slider section.

    it will be useful because, if I set the colour text to white (because most of the images have dark background) and one of the images have a whiter background, the text will be most invisible.

    the same if I set black text colour and darker images.

    so, if we could set a shadow to the text and we could set the colour of the shadow, the problem should be fixed.

    thank you

    #98340
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30990
    • Total: 30990
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Editor >> Style.css >> Scroll down and paste there:

    #slidera::after { background-color: rgb(0,0,0,0.3); position: absolute; content: ""; width: 100%; height: 100%; z-index: 5; top: 0;}

    Regards,
    Chris

    #98419
    alex_frnzalex_frnz
    Participant
    • Topics: 9
    • Replies: 34
    • Total: 43
    Member since: March 19, 2018

    hello. I added the code line you gave me to the final line of the style.css, but nothing happened. It shows me a error: Expected (<color>) but found rgb (0,0,0,0.3). What should I do? Or did I do something wrong?

    #98453
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Hi,

    Kindly go to Appearance >> Customize >> Basic >> Custom CSS and paste below code there:

    .theme-default .nivo-caption{text-shadow: 2px 2px 3px #000;}

    Regards,
    Shri

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.