MyBB Codes

Full Version: [Tutorial] Textarea with Background Image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Its a very simple tutorial very useful Smile i use it on my forum so i just wanted to share it and i hope it's ok for the admin Tongue

So lets begin !

Go to Admin CP > Themes > Your's Theme > Edit > open global.css > in Advanced Mode >

Find:
textarea {
background: #ffffff;
color: #000000;

After:
color: #000000;

Add:
background-image: url("/images/your-background-image.gif");
background-repeat: no-repeat;
background-position: 50% 50%;

Upload the background image to Mybb-root-directory/images.
You can aslo use full link aka hotlink, for example:

background-image: url("http://www.yoursite.com/images/your-background-image.gif");
background-repeat: no-repeat;
background-position: 50% 50%;

This should works in all Mybb versions.

Check attachment for screenshot.

Hope you enjoy Smile
hey thats real awesome i'll be using this in my forum Big Grin
Thanks for the tutorial brother.
Reference URL's