@crazycells said in CSS code customization for the link preview plugin:
does OGProxy show the pdf previews as well?
Not yet, but it could with a bit of additional code.
For Wallpaper, i will test your solution. That solutino work on mobile ?
@downpw Yes, it does.
like this ? @phenomlab
/* Smartphone */
@media (min-width: 320px) {
body {
background: url(https://i.imgur.com/XXXX.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
}
/* Desktop */
@media (min-width: 1281px) {
body {
background: url(https://i.imgur.com/XXXX.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
}
@downpw Yep. That should work.
Whoops, I have test and not work on mobile
Just fix this and it’s perfect for me
@downpw So it’s working now ?
no.
white background on mobile
@downpw Ok. Checking now.
I see this on console with smartphone enabled
@downpw Yes, I see it. On each CSS sheet you have, change
background-color: white
to background-color: transparent;
on the body
tag and let me know if that fixes it.
Ok I test that
@downpw On each body
tag, change background-color: white
to background-color: transparent;
nope doesn’t work
@downpw Try background-color: transparent !important;
yes I have test that too
@downpw Odd. This is what I see.
Then, from your body
class, I change background-color: white
to background-color: transparent;
So the CSS now look like
body {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
font-size: 14px;
line-height: 1.42857143;
color: white;
background-color: transparent;
}
And the image displays
how and where do you do that ?
@downpw By altering the CSS in the DOM directly. F12, then “inspect”, select element, and change
This is what I see
Can you change the background-color: white;
in eva_00.css
to background-color: transparent;
and let me know when done ?
Actually, you can probably remove it altogether ?
yes it’s that.
I must change on all CSS file
@downpw Yep. Or, you can just remove that line in each file.