collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 393
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: Font size in ShoutBox  (Read 11651 times)

0 Members and 1 Guest are viewing this topic.

Offline Jester

  • Semi Newbie
  • *
  • Posts: 5
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Font size in ShoutBox
« 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

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Font size in ShoutBox
« Reply #1 on: October 19, 2014, 01:38:23 PM »
Themes/default/css/portal.css

Code: (Add to end) [Select]
.shoutbox_container
{
font-size: 15px;
}
And slowly, you come to realize... It's all as it should be...

Offline Jester

  • Semi Newbie
  • *
  • Posts: 5
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Font size in ShoutBox
« Reply #2 on: October 20, 2014, 08:50:28 AM »
That doesn't seem to make any change to the font size in the shout box.

Offline {OCS}MasterSeal

  • Semi Newbie
  • *
  • Posts: 14
  • Gender: Male
  • Owner: Out Cast Snipers Multi-Game Clan
    • Out Cast Snipers Multi-Game Clan
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Font size in ShoutBox
« Reply #3 on: November 12, 2014, 05:18:50 AM »
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...

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Font size in ShoutBox
« Reply #4 on: November 12, 2014, 09:54:14 PM »
{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.

Offline Cal

  • Semi Newbie
  • *
  • Posts: 15
  • Gender: Female
    • Seiryuu RPG Resources
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Font size in ShoutBox
« Reply #5 on: December 03, 2014, 12:26:03 PM »
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).

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Font size in ShoutBox
« Reply #6 on: December 03, 2014, 01:15:46 PM »
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?

Code: [Select]
.shoutbox_container
{
font-size: 15px !important;
}
And slowly, you come to realize... It's all as it should be...

Offline {OCS}MasterSeal

  • Semi Newbie
  • *
  • Posts: 14
  • Gender: Male
  • Owner: Out Cast Snipers Multi-Game Clan
    • Out Cast Snipers Multi-Game Clan
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Font size in ShoutBox
« Reply #7 on: March 15, 2015, 10:18:23 PM »
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?

Code: [Select]
.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...

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Font size in ShoutBox
« Reply #8 on: March 17, 2015, 11:04:19 PM »
{OCS}MasterSeal,

File: ../Themes/default/PortalShoutbox.template.php

find (this line appears twice within the file, you can edit both instances):
Code: [Select]
<li class="smalltext">', str_replace('ignored_shout', 'history_ignored_shout', $shout['text']), '</li>

replace with:
Code: [Select]
<li class="smalltext shoutbox_container">', str_replace('ignored_shout', 'history_ignored_shout', $shout['text']), '</li>

Regards.


Offline {OCS}MasterSeal

  • Semi Newbie
  • *
  • Posts: 14
  • Gender: Male
  • Owner: Out Cast Snipers Multi-Game Clan
    • Out Cast Snipers Multi-Game Clan
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Font size in ShoutBox
« Reply #9 on: March 20, 2015, 09:47:29 PM »
THANK YOU!


...Seal...

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Font size in ShoutBox
« Reply #10 on: August 01, 2015, 07:27:37 AM »
Jester, do you require further assistance with this issue?
And slowly, you come to realize... It's all as it should be...