Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
7428 Näkymät

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,

Avatar
Hylkää
Paras vastaus

Hi,

you can add inline style with !important; tag

Thank you

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
toukok. 23
2751
2
toukok. 21
6994
1
lokak. 15
4945
2
maalisk. 15
16982
3
marrask. 21
6138