Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
7964 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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


 
Imagine profil
Abandonează
Cel mai bun răspuns

Hello try below code,

it will work in my side.

 .page{
        color:#0000ff !important;
    }
Imagine profil
Abandonează
Autor

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

Cel mai bun răspuns

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

,, tags,

eg:

.........

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
feb. 24
2517
1
feb. 23
11717
1
sept. 18
7826
0
dec. 20
6419
0
ian. 21
804