Tagged: featured image
For the posts that do not have a featured image, the thumbnail shows up as the standard pencil icon.
I’d like to replace that with my company logo. Is that possible?
This could be related to a past forum article:
try this here :
.format-standard .small-preview [data-av_icon]::before {
content: url("path to your image");
display: inline-flex;
height: 70px;
position: relative;
top: 5px;
width: 70px;
}
edit : sorry it has to be more selective
this is for : http://webers-testseite.de/ikom/blog/ see the wordpress logo instead of pencil !
for the following sites do it in a similar way !
the link above from Yigit is best if you want to change it with another “font” icon
if you like to change it with a colored logo this above should work.
Hi,
Yes it is related, if you would to change it to a image please refer to @Guenni007’s post above
@Guenni007 thanks :)
Best regards,
Yigit
Ismael did the trick i read in the thread by deleting the content and setting up a background-image:
.format-image .small-preview [data-av_icon]::before {
background: url(path to your image) no-repeat scroll center center / contain ;
content: "";
height: 70px;
left: 5px;
position: absolute;
top: 5px;
width: 70px;
}
works too !
i do the css trick by setting up display: inline-flex.
by the way i noticed that safari does not support content: url()
so i would now prefer the background solution !