Turn off gradient on main page only
-
Hi all,
I’m used to building sites from scratch and new to wordpress and I’ve had to make a few concessions to save myself time in the long run.
I like the image i’m using for the large main page banner but on the other pages it is smaller and the text becomes harder to read.
The best solution i found was to use this css to make the gradient into a solid grey bar and it looked good enough on the desktop site:
.custom-header-media:before, .panel-image:before { background: none; } .custom-header-media:before { background: linear-gradient(to top, rgba(35, 35, 35, 1) 90%, rgba(35, 35, 35, 1) 50%, rgba(35, 35, 35, 0) 50%) !important; }
However on going mobile the grey box fills the entire image space making it far less attractive.
Options are removing the gradient entirely from the front page only which would be ideal, or being able to bring the height of the gradient down on just the mobilve version of the front page without affecting anything else.
Suggestions very welcome!
The page I need help with: [log in to see the link]
- The topic ‘Turn off gradient on main page only’ is closed to new replies.