151 Posts
jimenaes
9 years ago
1
Topic

Hi

I want to use custom attributes to assign some CSS styles to the different values  of my radio field. I see my the custom attributes inside the HTML <div> in the form view of my content type but not in the Content view, there the div has no custom attributes. Is there a way to do this? or is there another way to do it?

Thanks

Get a VIP membership
1283 Posts
Bucklash
9 years ago
0
Level 1

Hi

I think the only option is Typo [2] and selecting 'html', and writing it attributes and other filed info yourself...
...or a template override or position override
EDIT: This was original post. Option 1 is NOT the way to go as it only applies to forms not content:
I'm at work so like to spend my time answering posts but have to go from memory...
Two options:
1
Click the orange chevron on content view to reveal css, js, custom attributes options and fill in info ie attr-1="attr-value"
2
Typo section [2], select html and write it as you like it to be

Hope info is correct and helpful

Bucklash

  

playing-with-custom-attributes

playing-with-typographies

Get a VIP membership