SimplePortal
Support => English Support => Topic started by: Jester on October 14, 2014, 07:47:18 AM
-
I did a search but didn't find this... Is there a way to change the default Font size for the shoutbox?
Al
-
Themes/default/css/portal.css
.shoutbox_container
{
font-size: 15px;
}
-
That doesn't seem to make any change to the font size in the shout box.
-
I have the same issue. When I installed SP< I think I recall it asking me if I wanted to customize other themes, and so I said yes, for the one I'm using. Theoretically, when you change the default settings that should be system wide regardless of themes, or at least portal.css only shows up in the directory stated by SiNaN : Themes/default/css/portal.css etc.
with that said, I've changed the included .shoutbox_container entry, and it was x-small I changed it to 16px, and no change whatsoever.
Does the SP script change/add the shoutbox settings for CSS somewhere in the custom themes area? I have yet to find it, but for some reason no matter what I change in the CSS, the Shoutbox won't change its font size or even color. (I'm confused) I really don't wanna get into the pHp portion although I could, I don't wish to change anything in SP on such a level.
Any help would be appreciated. Thank you.
...Seal...
-
{OCS}MasterSeal,
Whenever one edits a css file, the browser history/cache must be emptied/deleted to view the changes. Please attempt this procedure after making changes to see if it resolves the issue.
Regards.
-
Also, the chatbox line items are enclosed in class="smalltext", which is set in index.css at 0.85em by default (which, if you set a specific font size in index.css, can end up very, VERY small).
-
I have the code I gave above added at the end of my portal.css file and it works beautifully. Perhaps you need to clear your browser cache as was suggested above? If it still doesn't work, try this I guess?
.shoutbox_container
{
font-size: 15px !important;
}
-
I have the code I gave above added at the end of my portal.css file and it works beautifully. Perhaps you need to clear your browser cache as was suggested above? If it still doesn't work, try this I guess?
.shoutbox_container
{
font-size: 15px !important;
}
I know this is a 90 day old post but it was relevant instead of starting another post for obvious reasons.
I just needed to know, this addition works but doesn't apply to the "shoutbox history" code.. what would I add for that? Thank you.
...Seal...
-
{OCS}MasterSeal,
File: ../Themes/default/PortalShoutbox.template.php
find (this line appears twice within the file, you can edit both instances):
<li class="smalltext">', str_replace('ignored_shout', 'history_ignored_shout', $shout['text']), '</li>
replace with:
<li class="smalltext shoutbox_container">', str_replace('ignored_shout', 'history_ignored_shout', $shout['text']), '</li>
Regards.
-
THANK YOU!
...Seal...
-
Jester, do you require further assistance with this issue?