Forums / Developer / Creating CSS Class

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Creating CSS Class

Author Message

Daniel Lopes

Tuesday 09 June 2009 11:36:19 am

Hi there,

I would like to create a new css class for a table, but I can't write with online editor.

One Header
One line...
<table class="my_new_class">
  <tr>
    <td>Product</td>
    <td>Price</td>
  </tr>
  ...
</table>

When I try saved, this message is printed: 'Required data is either missing or is invalid'

Thanks,

Radek Kuchta

Tuesday 09 June 2009 12:25:12 pm

First of all you should define your CSS class in settings/override/conten.ini.append.php file.
There is AvailableClasses array for any html object.

Next step is selecting that class in properties of table (OE).

http://ez.no/certification/verify/272582

Daniel Lopes

Tuesday 09 June 2009 1:09:18 pm

Hi Radek,

thank you for your replay.
it's all right now.

bye