تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
7858 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

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


 
الصورة الرمزية
إهمال
أفضل إجابة

Hello try below code,

it will work in my side.

 .page{
        color:#0000ff !important;
    }
الصورة الرمزية
إهمال
الكاتب

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

أفضل إجابة

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

,, tags,

eg:

.........

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
فبراير 24
2376
1
فبراير 23
11339
1
سبتمبر 18
7610
0
ديسمبر 20
6235
0
يناير 21
804