Home › Forums › All Other Themes › Overlay Color Film on Slider
- This topic has 7 replies, 2 voices, and was last updated 3 years, 9 months ago by Sonl Sinha.
-
AuthorPosts
-
December 2, 2020 at 10:34 am #169970
I am trying to figure out how I can put a gradient overlay film on slider image. Using Complete Pro theme fyi.
An example can be seen at https://www.bluehost.com/contact.
December 2, 2020 at 12:55 pm #169998Hi,
Kindly show us your website URL please?
Regards,
BradDecember 2, 2020 at 12:57 pm #169999Working on a local host that’s whty I can not share any link at the moment. Please send me the custom css code to make it happen on Complete Pro Theme Slider….
December 2, 2020 at 1:07 pm #170003Hi,
Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:
#slider::before { position: absolute; content: ">>"; left: 0; top: 0; width: 100%; height: 100%; background-image: linear-gradient(90deg, #71A024 0%, #0160A2 100%); opacity: 0.5; }
Regards,
BradDecember 2, 2020 at 1:23 pm #170009Placed the css but nothing has changed on the slider image… Category name #Slider is correct but it does not have any influence on the slider.
December 2, 2020 at 1:28 pm #170012Hi,
Okay, Kindly go to style.css >> scroll down to bottom and paste CSS code there.
#slider::before { position: absolute; content: ">>"; left: 0; top: 0; width: 100%; height: 100%; background-image: linear-gradient(90deg, #71A024 0%, #0160A2 100%); opacity: 0.5; }
Regards,
BradDecember 2, 2020 at 2:27 pm #170022Sorry but it did not work out… Any other suggestions?
December 4, 2020 at 11:44 am #170120Hi,
Kindly add in style.css:
#slider::before { position: absolute; content: ""; left: 0; top: 0; width: 100%; height: 100%; background-image: linear-gradient(90deg, #71A024 0%, #0160A2 100%); opacity: 0.5; z-index:20; }
Regards,
Brad -
AuthorPosts
- You must be logged in to reply to this topic.