Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When using FCKeditor with this theme, the large background image at the top of the page turns up in every text field that has FCKeditor turned on.
Comments
Comment #1
Sungsit CreditAttribution: Sungsit commentedThis may help -> http://drupal.org/node/394864#comment-1332418
but let me know if it does not work for you.
Comment #2
ngaur CreditAttribution: ngaur commentedThanks for that, IT put me on the right track, even though It's not usable as is. In the iframe that FCKeditor creates, it doesn't provide a convenient id or class to hang the css on, so I approached things the other way round. I've added an extra class name to the page body in page.tpl.php:
(I'm actually using my own derivative of your theme, so my class name's not helpful).
I've then modified the file I derived from your css/colourise.css:
This works for me, and would presumably also work for other editors and for any other iframes people might want to use while still using your css. Ie it's a more general fix than the one you pointed me to.
Comment #3
Sungsit CreditAttribution: Sungsit commentedFixed in Colourise-6.x-2.1.
Comment #4
glen201 CreditAttribution: glen201 commentedThanks to ngaur for this which helped me to set up colourise with different bg.jpg images.
Use the body in CSS as above for setting up the background image also allows you to specify different backgrounds based upon different pages. For example, in page-taxonomy.tpl.php copied from page-tpl.php, to change the background image for all pages that are based on taxonomy lookups, simply changing the body class from "colourise" to "taxonomy" and then reference a different body.taxonomy CSS entry with a background image for that page.
Enjoy.
-- glen
Comment #5
ShutterFreak CreditAttribution: ShutterFreak commentedSubscribing - very interesting approach!
This might provide me the answer to the multiple headers I want to configure on my site depending on the content.