Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7429 Lượt xem

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,

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

you can add inline style with !important; tag

Thank you

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 23
2751
2
thg 5 21
6994
1
thg 10 15
4945
2
thg 3 15
16982
3
thg 11 21
6138