Not a biggie, more of a gotcha. It seemed that the CSS Class specified in the advanced section was not being applied. It transpired that the underscore I'd used had been replaced by a dash:

e.g. "news_feed" replaced by "news-feed"

Took me 3 hours to notice :-(

Comments

samw’s picture

I'm having the same problem - it's not just in the advanced section; it's also on the format settings for 'row class' when I use the HTML list format.
Strangely though, the 'list class' option doesn't change underscores to hyphens and works as expected.

Just like above, "grid_4" is getting output as "grid-4" in the <li> class and correctly as "grid_4" in the <ul> class.

Any ideas on how to solve this - I can't change the class names as I'm using a CSS grid for layout?

kurapov’s picture

Status: Active » Closed (duplicate)

I've stumbled upon this as well, also using a grid. Check https://drupal.org/node/1371118 for a proposed fix and official position on this issue (i.e. change class names to remove underscores).

akalata’s picture