Textarea with Background Image

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Suggested Hosts
Locked
User avatar
Nigelman
Registered User
Posts: 210
Joined: Sun Jun 12, 2005 3:59 pm
Contact:

Textarea with Background Image

Post by Nigelman »

I saw a phpbb forum that had this on their site and thought it was a cool style. Basically in the text box where you type a message it has their logo in the middle, the opacity has been dropped so it's not intrusive at all.

Any phpbb links for this one?

thanks...
User avatar
PlanetStyles.net
Former Team Member
Posts: 4809
Joined: Wed Nov 04, 2009 11:16 pm
Location: Way up in the sky close to the stars
Name: Christian
Contact:

Re: Textarea with Background Image

Post by PlanetStyles.net »

For prosilver:

Open: /styles/prosilver/theme/colours.css

Find:

Code: Select all

#message-box textarea {
	color: #333333;
}
Replace with:

Code: Select all

#message-box textarea {
	color: #333333;
	background-image: url("{T_THEME_PATH}/images/your-background-image.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
Upload the background image to /styles/prosilver/theme/images . Then refresh your theme cache. You will need to use an image editor such as photoshop to make it transparent. :)
User avatar
Nigelman
Registered User
Posts: 210
Joined: Sun Jun 12, 2005 3:59 pm
Contact:

Re: Textarea with Background Image

Post by Nigelman »

works like a charm!! What a great professional thing to do to your website...makes it feel real homely now...

Thanks guys!!
Locked

Return to “[3.0.x] Styles Support & Discussion”