Home › Forums › All Other Themes › Add shadow to slider title and text in Bistro Theme
- This topic has 3 replies, 3 voices, and was last updated 5 years, 5 months ago by
Sonnal S Sinha.
-
AuthorPosts
-
April 3, 2018 at 8:01 am #98237
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
April 4, 2018 at 9:12 am #98340Hi,
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,
ChrisApril 4, 2018 at 4:41 pm #98419hello. 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?
April 5, 2018 at 11:27 am #98453Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.