ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

custom css entry - advice needed

January 04, 2012 6:55am

Subscribe [2]
  • #1 / Jan 04, 2012 6:55am

    oltremedia

    28 posts

    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

    Boyink!

    5011 posts

    Depends on what the CSS needs to be - color values?  Numbers?  Background image?

  • #3 / Jan 04, 2012 7:19am

    oltremedia

    28 posts

    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

    Boyink!

    5011 posts

    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

    oltremedia

    28 posts

    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

    Boyink!

    5011 posts

    Could also work.  Might try wrapping the output in Lows Find and Replace plugin for image paths.

  • #7 / Jan 04, 2012 7:33am

    oltremedia

    28 posts

    Great! Thanks for the Find and replace plugin hint -> I’ll try it!

    I’ll let you know 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases