Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
8080 Ansichten

Hi everyone,

I am working with a customization of qweb PDF reports.I added CSS styles to the report using <style></style>tags.The background color is working fine. but when giving a value to color: it doesn't work

eg:

    .page{
        background-color:#edffed;
    }

works , But

    .page{
        color:#0000ff !important;
    }

Doesn't work , Could anybody help me?

Avatar
Verwerfen
Beste Antwort

Hi Muhammed Nishad,

i think you have added perfectly css, but it's not apply because text inside .page class has some tags and that tags uses some other css or it's affecting on that tags so you have to apply css on particular tags or class/id


 
Avatar
Verwerfen
Beste Antwort

Hello try below code,

it will work in my side.

 .page{
        color:#0000ff !important;
    }
Avatar
Verwerfen
Autor

It's not working bro. I have already tried.But forgot to add in the question

Beste Antwort

you can add --- style="color:white;" in corresponding tags,it is working fine in

,, tags,

eg:

.........

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Feb. 24
2629
1
Feb. 23
11935
1
Sept. 18
7937
0
Dez. 20
6608
0
Jan. 21
804