HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


shoutbox

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#35422 (In Topic #7994)
Avatar

Well-settled

text is not wrappend

Please can someone tell me how to do that the text in the shoutbox wrapped (now its out of border) and make the text small??
I have done a search but not foud a answer to this.
ocPortal version: 3.2.4

Thanks harry
Back to the top
 
Posted
Rating:
#35453
Avatar

Hi,

The text should be wrapped already. Perhaps you are asking how to change the box so it's wider?
If that's what you're looking for, edit the BLOCK_SIDE_SHOUTBOX_IFRAME. Change the first line from:

Code

{+START,BOX,{!SHOUTBOX},13.3em,panel,tray_closed}
to just:

Code

{+START,BOX,{!SHOUTBOX}}

To make shout box messages smaller add this to the side_blocks CSS file:

Code

.shoutbox_message {
   font-size: 0.9em;
}


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#35474
Avatar

Well-settled

Thanks Chris will try this.. But it was only for the text output..
Back to the top
 
Posted
Rating:
#35482
Avatar

Well-settled

sorry not working

Sorry Chris have try your solution you write but, see picture.
The text behind the leastest character is outsite the box. This is happende with all my installations.
And the text format is the same, no change in a smaller character type. I have change the site_block to 0.9em…


Back to the top
 
Posted
Rating:
#35484
Avatar

This isn't happening for me. It might be you have a theme change causing this.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#35485
Avatar

Well-settled

Chris,
I have testit with de default theme, there we have not this problem, only wen you made a theme with the theme wizard, what we have done. Only one thing is done with the new theme we have it to a fixed width set of 980 pixles.
Back to the top
 
Posted
Rating:
#35489
Avatar

Hi,

I've just tried a Theme Wizard generated theme and then applied the advice of our fixed width tutorial, and it's still working fine for me I'm afraid.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#35491
Avatar

Well-settled

hmmm very strange the, becouse with theme I do I got the same problem here… :(

Tis means That I can't use this shoutbox.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: