News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

how to change background color ?

Started by Sirius B, July 04, 2016, 12:36:47 PM

Previous topic - Next topic

Sirius B

hello everyone.
i am just new to smf and running smf 2.0.11. i want to change the background color of additional smileys page. i am adding a screen shot of that so that you can understand better what i am trying to say.
thanks.

Illori

which background do you want changed? the main background or the inset background. in your screenshot they are both the same color, which is defined by the theme you are using.

Sirius B

i want to change the main background to white, so that the smileys can be seen properly.

Illori

in your themes [or default themes] folder find GenericControls.template.php

Code (find) Select
<body id="help_popup">
<div class="padding windowbg">
<div class="cat_bar">
<h3 class="catbg">
' . $txt['more_smileys_pick'] . '
</h3>
</div>
<div class="padding">
%smileyRows%
</div>


Code (replace) Select
<body id="help_popup">
<div class="padding windowbg">
<div class="cat_bar">
<h3 class="catbg">
' . $txt['more_smileys_pick'] . '
</h3>
</div>
<div class="padding" style="background: #fff;">
%smileyRows%
</div>

Sirius B

#4
can't find anything like that.

Illori

as i said or the default theme, so in your case you need to modify the file in the default theme.

Sirius B

done. but it's not taking effect. i tried copying that template to the current theme too. but, it's not taking effect.

Illori

you need to clear your browsers cache for it to have effect.

Sirius B

i did. but, it's still not working. it has some kind of wallpaper on background i think.

Illori

that did the trick when i tested it... at this point i would say this is something that you should contact the theme author about.

Advertisement: