that's what I have done in the meantime, I was just thinking that if the user wanted to change a background image a simple click to change an image file is simple enough as this is how the site was built, otherwise I have to build certain section again that was all, thanks for the help
I'd be tempted to use either an inline style or a <style> block in the page.
If you make the entire CSS file editable just for a few changes, you'll invalidate any cached version of the CSS every time the editor makes a change. When the vast majority of the file is staying the same, it's better to move those editable sections out of that main CSS file.
You would need to make the file editable by PHP, however you can edit any sort of text format.
That said, I'd probably just have the background image as an inline style rule and change it there in the template.
that's what I have done in the meantime, I was just thinking that if the user wanted to change a background image a simple click to change an image file is simple enough as this is how the site was built, otherwise I have to build certain section again that was all, thanks for the help
I'd be tempted to use either an inline style or a
<style>
block in the page.If you make the entire CSS file editable just for a few changes, you'll invalidate any cached version of the CSS every time the editor makes a change. When the vast majority of the file is staying the same, it's better to move those editable sections out of that main CSS file.