71
Components / Re: MYcontent Component
« Last post by datahell on May 19, 2025, 20:45:14 »You can add your custom CSS in user.config.css, it is easier as you don't have to edit template files.
Elxis administration > Site > Code editor
Click on user.config.css
Add your custom styling there and save the file.
Sample styling
Make the DIV having background color gray:
.myc_attachedfile {
background:#F2F2F2; padding:10px;
}
Make the link display block and with red bold letters:
.myc_attachedfile a, .myc_attachedfile a:hover, .myc_attachedfile a:visited, .myc_attachedfile a:active {
display:block; font-weight:bold; color:#FF0000;
}
.myc_attachedfile a:hover { color:#000000; }
Running the editor in front-end in full mode is a VERY BAD idea.
Elxis administration > Site > Code editor
Click on user.config.css
Add your custom styling there and save the file.
Sample styling
Make the DIV having background color gray:
.myc_attachedfile {
background:#F2F2F2; padding:10px;
}
Make the link display block and with red bold letters:
.myc_attachedfile a, .myc_attachedfile a:hover, .myc_attachedfile a:visited, .myc_attachedfile a:active {
display:block; font-weight:bold; color:#FF0000;
}
.myc_attachedfile a:hover { color:#000000; }
Running the editor in front-end in full mode is a VERY BAD idea.