The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Smiley box background

3 posters

Go down

In progress Smiley box background

Post by E-Mark January 7th 2012, 12:29 pm

How to change the background color of the smiley box when posting a new topic? (through CSS)
Thank you in advance Hello
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

In progress Re: Smiley box background

Post by Cyborg112233 January 7th 2012, 12:33 pm

Hello,

for PHPBB3, you have to enter this code in you CSS Stylesheet:
Code:
.smiley-element {
  background-color: #999999;
  background-image:url("PICTURE-URL");
  background-attachment: fixed;
  background-position: center top;
  background-repeat:no-repeat;
}
For PHPBB2, you have to go in the Template posting_smilies_frame:
There you search this Code:
Code:
body{background-color:{T_BODY_BGCOLOR};margin: 0;}
and you replace that by:
Code:
body  {
background-color: #999999;
background-image:url("PICTURE-URL");
background-position:center top;
background-repeat:no-repeat;
}


I hope, that act. Smile


Last edited by Cyborg112233 on January 10th 2012, 7:40 pm; edited 1 time in total
Cyborg112233
Cyborg112233
Forumember

Male Posts : 435
Reputation : 25
Language : UBB, HTML, CSS, German, English and French
Location : Germany

Back to top Go down

In progress Re: Smiley box background

Post by E-Mark January 7th 2012, 12:42 pm

In punbb? Lol :DD.
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

In progress Re: Smiley box background

Post by Cyborg112233 January 7th 2012, 12:43 pm

Oh sorry, PunBB, I don't know the code für PunBB, beacause there are other classes etc.
I'm very sorry beu
Cyborg112233
Cyborg112233
Forumember

Male Posts : 435
Reputation : 25
Language : UBB, HTML, CSS, German, English and French
Location : Germany

Back to top Go down

In progress Re: Smiley box background

Post by E-Mark January 7th 2012, 12:48 pm

It's ok, atleast you're willing to *help by making a comment Smile.
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

In progress Re: Smiley box background

Post by Guest January 7th 2012, 4:07 pm

Try this:
Code:
#smiley-box{
background: url(IMAGEURL) !important;
}
or this:
Code:
.smiley-frame{
background: url(IMAGEURL) !important;
}
avatar
Guest
Guest


Back to top Go down

In progress Re: Smiley box background

Post by E-Mark January 8th 2012, 3:54 am

How 'bout if i want to change the color, not the background?
Thanks in advance Smile .
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

In progress Re: Smiley box background

Post by E-Mark January 10th 2012, 9:53 am

Bump Smile.
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

In progress Re: Smiley box background

Post by Cyborg112233 January 10th 2012, 7:40 pm

You have to use one of this codes:
Code:
        #smiley-box{
                background-color: #999999;
        }
or:
Code:
        .smiley-frame{
        background-color: #999999;
        }
Depending on what acts.
Cyborg112233
Cyborg112233
Forumember

Male Posts : 435
Reputation : 25
Language : UBB, HTML, CSS, German, English and French
Location : Germany

Back to top Go down

In progress Re: Smiley box background

Post by Nera. January 10th 2012, 11:10 pm

How 'bout if i want to change the color, not the background?

Hi Mark,

You don't want to change background color, but color? Color of what? Smiles?

That's done VIA PS than. Did I get you wrong? :$
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum