Non-threaded

Forums » Newbie Central » Read Thread

Introduce yourself and get to know the community.

Source Coding

7 years ago

Hi there! 

I read a story where the writer had added a background image to his story. I know this has something to do with the source coding, but I don't know how to do it and I'd absolutely love to. 

Any ideas?

Please and thank you!

Source Coding

7 years ago

This question belongs in "Advanced Editor Forum", I think. @Endmaster ?

If you wish to do it without turning RTE off, use this in the global page script:

$PAGETEXT := "[style]body{background: url('DIRECT URL LINK HERE');}[/style]" + $PAGETEXT

Source Coding

7 years ago
Not really. HTML stuff isn't really advanced editor exclusive.

Source Coding

7 years ago

Oh, I know. The thing is, it's annoying to keep toggling RTE on and off, and your script will disappear after being implemented if you have RTE on.

Source Coding

7 years ago

Awesome! I'll give it a try! Thank you!