Urbanbria Posted October 3, 2016 Share Posted October 3, 2016 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. Link to comment Share on other sites More sharing options...
rocky Posted October 4, 2016 Share Posted October 4, 2016 I'm not sure what you are attempting to do. Those are static images, so you'll need to edit the images if you want to modify them, not use CSS. Link to comment Share on other sites More sharing options...
Urbanbria Posted October 4, 2016 Author Share Posted October 4, 2016 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 More sharing options...
rocky Posted October 5, 2016 Share Posted October 5, 2016 After reading this, it seems you'll need more complicated code to do it. 1 Link to comment Share on other sites More sharing options...
Urbanbria Posted October 6, 2016 Author Share Posted October 6, 2016 Thanks for the info. After spending hours "messing around" with the CSS, I think photoshop is my best bet! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now