List Manager Forum

CSS class not visible in card view

User moon_1262 2015-07-14 11:41:51

Hi there,

I want some labels to be hidden in card view so I thought I just had to use CSS class for the fields I want to hide labels.

Unfortunately, I can't find the CSS class I added to my fields in the resulting code.
For example, If I add the CSS class ImageService to my Image field, I don't find it anywhere in the resulting .lmcardcontentblock div.

That makes it a pain to target divs in card view...


Did I miss something ?

Regards,
--
Pascal

Edited by moon_1262 - 14.07.2015 11:57

User moon_1262 2015-07-14 12:25:54

I resolved the issue by modifying listmanager.js line 1127

It was :
var card_content_block=LMJQ('');

And I made it :
var card_content_block=LMJQ('');

Seems to work so far...



Regards,
--
Pascal

Edited by moon_1262 - 14.07.2015 17:28

Moonsoft support 2015-07-15 08:59:38

Hi,

Great it worked. Thanks for sharing.

Regards,

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!