MODX Community

Linking fred settings to html/css attributes

I have gotten as far as creating options sets in Fred that are accessible in the front-end, but how do I link those settings to the attributes of an element so that they actually take effect? Like a slider to change the padding of an image, how do I link it to the padding attribute so moving the slider actually does something? Or a select box to choose one of several classes for an image element? I seem to be missing something in the documentation to get this connected but for the life of me I don’t know what it is.

See if this video helps at this timestamp.

That is perfect, that’s what I was looking for. I seem to have an issue with my text editor now though. I can type and edit things in the front end as expected, but j cannot use enter to go to a new line. Any idea if this is a tinymce problem or a Fred problem?

Sounds like you may need to change the fieldtype to be a textarea instead of text

1 Like