If you have a client that is just getting into using Fred, or you want to use this for yourself, here is a simple way to highlight the editable fields in the Fred frontend editor. Will make it easier for a person just starting with Fred to easily see what they can and cannot edit in the editor.
For me, I actually found one of my elements I created that did not have the Fred name attribute assigned and therefore the section was not editable (a copy/paste of existing site code into the new element and never caught the omission!).
Create a custom CSS file and adjust the settings for border size, color and alpha. Or add whatever else you might need! And since the Fred attributes are not presented in the actual page source, visitors do not see the highlighting.
/* Use attribute selectors to select all elements for
targeting the Fred items and setting a border. So
they can be easily spotted for editing. */
*[data-fred-name] {
outline: 2px solid rgba(247, 77, 77, 0.18);
}
/* End Fred Editor stylings. */
You can remember to add a reference to this stylesheet in any project where you want it.
You can also create a dedicated Fred system setting where this file reference can be used whenever you like. See image for what to use when creating a new setting.
Then add the reference to your project HTML or template using the Key value:
<link href="[[++fred.fred_custom_css]]" rel="stylesheet">