S
S
Sergey Goryachev2017-02-16 16:10:29
css
Sergey Goryachev, 2017-02-16 16:10:29

I do not understand why the print version does not work correctly?

https://jsfiddle.net/1hgj8sd6/2/
Actually, everything is clearly visible.
Two logos. One for the plain version, one for print.
It could be done by changing the background-image, but it doesn't work either.
I can't figure out what's wrong.
Hiding are hiding, but shouldn't they be shown?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Goryachev, 2017-02-16
@webirus

In short, the situation is strange)
I have printing of background images enabled, the logo (.logo-in) is printed normally.
But if you try to change the background image through media print or hide it, it is not shown.
The solution for my situation is this.
https://jsfiddle.net/1hgj8sd6/4/
In principle, it suits, but somehow it does not work correctly.
BUT the main thing works)

I
iBird Rose, 2017-02-16
@iiiBird

ask for

header a.logo-main,
header a.logo-in,
header a.logo-in-print {
    -webkit-print-color-adjust:  exact;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question