Custom css file add to code

hi to all, i am new on this forum, im working con SC, and need to customize some style of page like as grid, form and other, i have check and i have seen css style by chrome inspector, and i change some css code bu when i recompile my project this code are delete, now i ask this

Is there a way to add my own custom css file, without it being deleted every time I recompile and distribute the code?

thanks to all

Hello…
I use this way…
In PHP Method, add a method “style”
an add my CSS Code

    ?>
    <style>

.css_pla_descripcion_grid_line {
	text-align: left;
}
.css_tpf_descripcion_grid_line {
	text-align: left;
}

    </style>
    <?php

Then, in scriptinit, call
style()

You can style procedure in a internal lib…

Bye!!

thanks for your reply, can you explain step by step pleasev?

Hello…

in Events - ScriptInit, call to procedure style
image

Then, in PHP Methods, add a method style, with all the css code…

And work!!

2 Likes

in this way ?

in another app not have “onScripting” how i can do ?

Try in the firs Event…

1 Like