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

Hello Community,

I want to override a css property of t-attf-class in new module.

Should I need to redefine a template in which class is define or override .css/.less file instead?

For e.g. There is t-attf-class ckus_stub_{{ stub_num }} and its css is define like:

.ckus_stub_1, .ckus_stub_2 {

    position: absolute;

    height: 3.25in;

}

I want to change height of this class in its inherited module.

How can I achieve this?

Thanks,

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

Hi,

you can add inline style with !important; tag

Thank you

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 23
2744
2
مايو 21
6981
1
أكتوبر 15
4933
2
مارس 15
16969
3
نوفمبر 21
6124