REMINDER
Forced margins on rows
-
Hello,
Sorry I've been off for a while, soon I'll get back on my topics and help to answer again ^^"
I have problem with the margin on rows that always come back and force themselves set at "!important".
I want to dynamically change it but :
- If I do it in CSS, the default one (in !important) takes the lead
- If I change it in javascript, it changes so fast that the html ones take the lead some milliseconds after....
How to cancel the important row's margin ? Without setting any timers and without creating a new div on my own please :/, just cancelling the row's margin.
I tried to fully delete it (page builder + code) but it always comes back.Thanks !
Best regards, -
Hello,
Welcome back, wish everything's going well for you!
All elements having this class "dynamic-sized-element" will have it's padding and margin set by its attributes :
- padding-screen-direction
- margin-screen-direction
So, you can either write those attributes in JS and call :
resizeMarginAndPaddingForElems();
OR
doing it by yoursel removing the class, and setting the CSS you want
-
@Wassim removing the class and putting mine that does it the way I wanted worked like a charm, thanks a lot !
Yes everything is goind well well thanks a lot, it's honestly thanks to AppDrag, even with those very tiny flaws here and there, there is everything to resolve them, so it's always fine ^^
Good day,
Best regards, -
Great!
Thank you very much
Have a nice day