Jump to content

Adding linear-gradient to images in default theme


Recommended Posts

I have been trying to add a linear-gradient to the main images on the default theme (see attached image),

Can someone please point me in the right direction?

I have been looking at both the global.css and hooks.css in the modules (theme config).

 

If anyone could help, it would be very much appreciated. 

post-1267694-0-06667700-1475524077_thumb.jpg

Link to comment
Share on other sites

Rocky,

 

I can place a border round the images by adding a line of code to the CSS, is it not possible to add something like: 

linear-gradient(top, rgba(0,0,0,0.5), rgba(117, 55, 55, 0.5));

 to the CSS to create the effect on the images? Or it that only possible to do on a single linked image?

Please forgive my ignorance, as I am "learning as I go" 

 

Thanks 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...