Hi guys!
In the site I’m developing I have some pages where I want the editor to use custom css so I was thinking about making a css custom field, does anyone knows if there’s a plugin or suggestions?
Thanks!
Francesco
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
January 04, 2012 6:55am
Subscribe [2]#1 / Jan 04, 2012 6:55am
Hi guys!
In the site I’m developing I have some pages where I want the editor to use custom css so I was thinking about making a css custom field, does anyone knows if there’s a plugin or suggestions?
Thanks!
Francesco
#2 / Jan 04, 2012 7:06am
Depends on what the CSS needs to be - color values? Numbers? Background image?
#3 / Jan 04, 2012 7:19am
Hi Michael,
I mean an entire css file!
The editor should be able to customize all the content of entry (using classes, id, background images)
Thanks!
(a proud reader of ur last book 😊)
#4 / Jan 04, 2012 7:23am
Hmm..I don’t think I’ve ever seen that request. Have you tried just a file upload field? It may not allow a .css file by default but you should be able to edit the core file that control allow allowable file types - mimes.php if memory serves.
Thanks again for buying the book!
#5 / Jan 04, 2012 7:29am
What about a wygwam field where to write custom selectors and then outputting the content inside a style tag in the frontend? this may be working the problem will be making links to images…
#6 / Jan 04, 2012 7:31am
Could also work. Might try wrapping the output in Lows Find and Replace plugin for image paths.
#7 / Jan 04, 2012 7:33am
Great! Thanks for the Find and replace plugin hint -> I’ll try it!
I’ll let you know 😊