Gradient over post´s featured picture
-
Hello,
I wanted to ask if there is a way how to remove a grey gradient that suddenly appeared over the area of a post´s featured image in the whole length of the page.
When I created the posts, I added to each of them an individual picture in jpeg. The background was white at that time. Now the bacground goes grey to white upwards, dividing the picture area from text area in front end.
Using a template twenty seventeen.Would appreciate any help, whether to use certain CSS or any other way.
-
Hi there,
We’d be happy to help, but we require one vital piece of information. What is the URL of your website?
Bare in mind that if your websites uses the self-hosted version of WordPress rather than WordPress.com, you should post in the self-hosted forums or alternatively contact your hosting provider. Note the difference here: https://en.support.wordpress.com/com-vs-org/
Let us know this information and we’ll try and move forward. :)
-
Hi,
the website is
http://horoskopy-astrologie.cz/en/nezarazene-en/march-2019/aries-march-2019-2/Martina
-
-
Hi,
It appears that your website uses the self-hosted version of WordPress rather than WordPress.com, which is what this forum is designed to help with. Note the difference here: https://en.support.wordpress.com/com-vs-org/
You may be able to find help here: https://wordpress.org/support/ or alternatively contact your theme developer.
Whilst I’m here though, I did look at this issue and I think this CSS will solve the issue. To remove the gradient:
.single-featured-image-header:after { background: none; }To remove the grey bits:
.single-featured-image-header { background-color: transparent; }You can learn how to add CSS here: https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress
-
Hi,
Thanks a lot.
Tried the first code (background: none), and it is gone.
Any recomendation about literature or website where to learn how CSS work?
Thank you again
Martina
-
Perfect! There’s loads of information online, this support article has some basics but a lot of links to other sources which may help you: https://en.support.wordpress.com/custom-design/css-basics/
- The topic ‘Gradient over post´s featured picture’ is closed to new replies.