Search code examples
phpcsswordpressvisual-composer

Mistakes in css classes in wordpress


I'm using Divi Builder for my wordpress site. I have also used Visual Composer, too. After I design my page in Divi Builder or Visual Composer, if I change any attribute of any item, when the page is rendered, the attributes I changed are written with double quotes (") in css class.

For example, when I divide a row as 2/3 + 1/3, first column class is:

et_pb_column et_pb_column_"2_3"  et_pb_column_2

and the second column class is:

et_pb_column et_pb_column_"1_3"  et_pb_column_3

But they should be

et_pb_column et_pb_column_1_3 et_pb_column_3

and

et_pb_column et_pb_column_2_3 et_pb_column_2

How could I fix this?

Thank you!


Solution

  • Disabling all plugins then re-enabling Divi Builder solved the problem. Thus, problem was because of one of the plugins. After your problem solved, enable plugins one by one while you refresh your broken page until it is broken again. Then remove or edit your last breaking plugin.