Multiple CSS Classes in View-Example
Is it possible to add multiple CSS classes to the "cssClass" field in the View-Example templates?
For example: I'm trying to add the no-padding class to one of the columns. I've tried with no separator, comma, and semi colon.
"cssClass": "col-sm-12 no-padding", "content": { "cssClass": "row", "content": [ { "Id": "no-padding-col", "cssClass": "col-md-12; no-padding", "type": "viewPanel", "ViewPanelId": "html-example" } ] } } "cssClass": "col-sm-12 no-padding", "content": { "cssClass": "row", "content": [ { "Id": "no-padding-col", "cssClass": "col-md-12; no-padding", "type": "viewPanel", "ViewPanelId": "html-example" } ] } }
Best Answer
-
James_Johnson Customer Advanced IT Monkey ✭✭✭
It appears that my code above was correct, the page just wasn't refreshing to pull the latest version. Now that it did this morning both css class are being applied.
1
Answers
Also, I've seen formatted code blocks in a few posts, how do we set those up?It's a sneaky formatting button.
It appears that my code above was correct, the page just wasn't refreshing to pull the latest version. Now that it did this morning both css class are being applied.