When using CTools for adding some custom css (in a custom field for giving CSS to a certain section of the menu - our site uses menu node edit

warning: preg_replace() [function.preg-replace]: No ending delimiter ',' found in /var/www/sites/all/modules/ctools/includes/css.inc on line 217.

This means we have to define each selector separately which is really inefficient and harder to maintain.

Comments

rootwiley’s picture

Somehow the end of the previous issue report got cut off.

The problem is this:

When using a comma to style multiple elements with css (e.g. #header,#footer {float:left;}) we get the following error:

warning: preg_replace() [function.preg-replace]: No ending delimiter ',' found in /var/www/sites/all/modules/ctools/includes/css.inc on line 217.

merlinofchaos’s picture

I think properly formed CSS requires a space after the comma. Try that?

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

I tried and I cannot duplicate this behavior.

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)