[HOW TO] Add a background image to posting area

How-to's, little tricks, tutorials, code examples (snippets) and read-me's.

Re: [HOW TO] Add a background image to posting area

Postby clight77 » 17 May 2008, 20:27

Sniper_E wrote:It's just there while you are posting. This is a nice tutorial by Stitch! We even use it here in our styles.



I thought so.
Adds a nice little touch :good:
clight77
Supporter
Supporter
 
Posts: 65
Joined: 06 Jul 2007, 21:40
Gender: Male




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: [HOW TO] Add a background image to posting area

Postby clhenry » 25 May 2008, 10:16

i am a completely new-be to phpbb after switching from another forum software. I found it so hard to get answers at other sites. I followed your directions, and it didn't work. Went back and reread, and checked what i did, and found a small mistake, changed, and now working. Thanks. Seems the people here actually work to help others. I have a lot of questions and will start making post to see what i can learn. Thanks again for this tweak.Image
clhenry
Cadet III
Cadet III
 
Posts: 33
Joined: 23 May 2008, 22:15
Gender: Male
phpBB Knowledge: 1

Re: [HOW TO] Add a background image to posting area

Postby harmlessgoat22 » 03 Aug 2008, 08:05

I suggest for this tutorial that instead of adding code in the middle of the textarea thing, you just add a new class type dealio...
Code: Select all
textarea#message {
   background-image: url('./images/alphaPORTAL_logo.png');
      background-repeat:no-repeat;
      background-position:center;
}

Add that code right after the textarea {} code. This way, the image doesn't appear in any textareas except ones that are rather large, eg posting area.
User avatar
harmlessgoat22    
STG Support Team
STG Support Team
 
Posts: 2886
Joined: 13 Jul 2006, 17:38
Gender: Male
phpBB Knowledge: 8

Re: [HOW TO] Add a background image to posting area

Postby Maxi » 18 Oct 2008, 10:24

I use Thema acidtech and I do not look different stylesheet.css what can I do as I change
Image
Maxi    
Crewman
Crewman
 
Posts: 3
Joined: 23 Aug 2008, 11:58
Gender: Male
phpBB Knowledge: 2

Re: [HOW TO] Add a background image to posting area

Postby Sniper_E » 18 Oct 2008, 11:18

Maxi wrote:I use Thema acidtech and I do not look different stylesheet.css what can I do as I change
Image

Change that to this....
Code: Select all
textarea {
      font-size: 1.3em;
      line-height: 1.4em;
      padding: 2px;
      background-image: url('./images/YOUR_BACKGROUND_IMAGE.GIF');
      background-repeat:no-repeat;
      background-position:center;
}
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6983
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [HOW TO] Add a background image to posting area

Postby Maxi » 18 Oct 2008, 12:01

no result :cray:
Maxi    
Crewman
Crewman
 
Posts: 3
Joined: 23 Aug 2008, 11:58
Gender: Male
phpBB Knowledge: 2

Re: [HOW TO] Add a background image to posting area

Postby Sniper_E » 18 Oct 2008, 14:40

Show us what you put in your class. Is it pointing to a valid image? Did you follow all of the directions in the first post.

Did you refresh your theme in the ACP? Saying, "no result" sure doesn't give much information on what you did.
Go do the things I just posted. Look over ALL of those steps.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6983
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [HOW TO] Add a background image to posting area

Postby Drak » 30 Oct 2008, 12:49

harmlessgoat22 wrote:I suggest for this tutorial that instead of adding code in the middle of the textarea thing, you just add a new class type dealio...
Code: Select all
textarea#message {
   background-image: url('./images/alphaPORTAL_logo.png');
      background-repeat:no-repeat;
      background-position:center;
}

Add that code right after the textarea {} code. This way, the image doesn't appear in any textareas except ones that are rather large, eg posting area.


This works perfectly for my style. Thanks!
Image Online Gaming Community
Build: phpBB 3.0.10 + Kiss Portal Engine
Drak
Borg Drone
Borg Drone
 
Posts: 29
Joined: 28 Jun 2007, 09:14
Location: Virginia
Favorite Team: Pittsburgh Penguins
Gender: Male

Re: [HOW TO] Add a background image to posting area

Postby Highwayman » 17 May 2009, 04:03

Is it possible, instead of an image, the name of the Users read it?

Sorry my bad english!
PHOM RAG THUG KHON
User avatar
Highwayman    
Crewman
Crewman
 
Posts: 4
Joined: 23 Mar 2007, 22:58
Location: Wat Sing Thailand
Favorite Team: St. Gallen
Gender: Male

Re: [HOW TO] Add a background image to posting area

Postby Highwayman » 17 May 2009, 21:04

Or a new idea.

Is it possible for each user his own background image?

Greeting from Thailand

Bruno
PHOM RAG THUG KHON
User avatar
Highwayman    
Crewman
Crewman
 
Posts: 4
Joined: 23 Mar 2007, 22:58
Location: Wat Sing Thailand
Favorite Team: St. Gallen
Gender: Male

PreviousNext

Return to Tutorials and How-Tos

Who is online

Users browsing this forum: TiMBo and 10 guests