The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Smiley box background

View previous topic View next topic Go down

In progress Smiley box background

Post by E-Mark on 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
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

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

Back to top Go down

In progress Re: Smiley box background

Post by Cyborg112233 on 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
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 on January 7th 2012, 12:42 pm

In punbb? Lol :DD.

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

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

Back to top Go down

In progress Re: Smiley box background

Post by Cyborg112233 on 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
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 on January 7th 2012, 12:48 pm

It's ok, atleast you're willing to *help by making a comment Smile.

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

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

Back to top Go down

In progress Re: Smiley box background

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

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

Guest
Guest


Back to top Go down

In progress Re: Smiley box background

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

How 'bout if i want to change the color, not the background?
Thanks in advance Smile .

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

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

Back to top Go down

In progress Re: Smiley box background

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

Bump Smile.

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

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

Back to top Go down

In progress Re: Smiley box background

Post by Cyborg112233 on 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
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. on 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.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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