Our FamilyForum

FamilyForum Documentation & Help => FamilyForum Features & Guidelines => Code & Stuff => Topic started by: Skhilled on March 11, 2017, 03:46:24 AM

Title: Adjusting TPShout.css For any Theme
Post by: Skhilled on March 11, 2017, 03:46:24 AM
Les and I were on Skype and he noticed the shoutbox and found the code in TPShout.css to change it:

Quote
/ This is a special dark version of the shoutbox bubble, activate by removing the / and  before and after. */

 /*.bubble { background-color: #888; }
.bubble:after { content: '';
position: absolute;
border-style: solid;
border-width: 0 10px 8px;
border-color: #888 transparent;
display: block;
width: 0;
z-index: 1;
top: -8px;
left: 16px; } */

As you can see, the code is commented out and comments would need to be removed for it to work. Normally, if you adjust TPShout.css it will affect all themes. But I remembered when I was at LGF I had made a lot of custom TP upshrinks, etc. to be used with various themes. But for them to work with an individual theme you'd have to copy them to that themes folder. This led me to copying the TPShout.css to this theme's /css folder. I uncommented the code and it worked!

I told Les to not say anything and we'd wait and see how long it took you to notice. Then you shouted and still didn't notice!!!  :rofl2
Title: Re: Adjusting TPShout.css For any Theme
Post by: Ken on March 11, 2017, 07:14:50 AM

I told Les to not say anything and we'd wait and see how long it took you to notice. Then you shouted and still didn't notice!!!  :rofl2

 Shocked016

Me wooda noticed... maybe in a week or three.  :-[


Actually, I've been using the SMF default theme and that's why I didn't catch the change/fix... and yes, that's really true. hahahahha