Page 1 of 1

Custom Css Class

Posted: Sat Aug 24, 2024 4:36 pm
by wixily
For some reasons which i cant trace if i try to define my own custom class it will not be select in my css unless i use id.
for example - if i define class="myclass" in a normal wysiwyg div inside tag nothing happens unless i use id

.myclass { background-color:red; } will not work unless i use
#wb_myid { background-color:red; }

Re: Custom Css Class

Posted: Sat Aug 24, 2024 4:54 pm
by Pablo
It is difficult to say anything meaningful about this without seeing exactly what you did. Because each object is different and also the generated code will be different depending on the context of the object.