The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Announcement problem, text doesn't wrap

View previous topic View next topic Go down

Announcement problem, text doesn't wrap

Post by the60s on November 13th 2017, 1:59 am

Technical Details


Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome
Screenshot of problem : https://i.imgur.com/HrQCWYz.png
Who the problem concerns : All members
When the problem appeared : 13.11.2017 r.
Forum link : ( link is hidden, you must reply to see )

Description of problem

Hello!
I tried to create an announcement on my forum. Used CSS and HTML.
My problem is that on codepen or jsfiddle code works okay but when I put this code in Announcement field on Forumotion and send this I have a problem that text (not one long word but few paragraphs) won't wrap and it's scrolling horizontal, straight to right. It's annoying as I'd like to gave only vertical scroll.
Cannot find the code that can fix this.

I put the same code of announcement in field for post and it works okay.

I deactivated scrolling in announcement options.



Is there any chance to fix this?

Sorry for my English, not my first language.
avatar
the60s
New Member

Posts : 14
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by SLGray on November 13th 2017, 2:22 am

Please post the code that you are using. Post it with the code tags.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40868
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on November 13th 2017, 2:32 am

The first one:


The second one




avatar
the60s
New Member

Posts : 14
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by SLGray on November 13th 2017, 2:56 am

So you have all them in one announcement?

Exactly do you mean the homepage message?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40868
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on November 13th 2017, 2:58 am

I don't. Two separate announcements but the main problem is the same - horizontal scrolling to right.
And yes, homepage message.
avatar
the60s
New Member

Posts : 14
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by SLGray on November 13th 2017, 3:04 am

You can control the scrolling with the scrolling option above the list of announcements.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40868
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on November 13th 2017, 3:12 am

Yes, I know.
Like I said I deactivated it.

I want a scroll which only works for one column with a long text. Instead, there is no wrap for text and the only scroll is horizontal which is not what I wanted.

avatar
the60s
New Member

Posts : 14
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by APE on November 13th 2017, 11:31 am

I see what you mean on your forum you can move the text from let to right but not up and down with the scroll bar at the bottom but the overflow is not put to the next line.


in you code for CSS files do you have the following
Code:
div {
  overflow-y: hidden;
}
Code:
div {
  text-overflow: ellipsis;
}



avatar
APE
Manager
Manager

Male Posts : 10994
Reputation : 1031
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on November 13th 2017, 2:18 pm

Hi!

I don't have any of those codes.
First one maybe hide the scroll at the bottom but that does not solve my problem. The second one it's not what I wanted, though it shows ellipsis.

I posted the code from announcement here

And as you can see there's no bottom scroll, just vertical. I don't know what affects code on announcement but this view in post it's my goal. To get only this vertical scroll.
avatar
the60s
New Member

Posts : 14
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on November 15th 2017, 12:59 am

Bump.
avatar
the60s
New Member

Posts : 14
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by SLGray on November 15th 2017, 4:47 am

What height (AP) have you set for announcements?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40868
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on November 15th 2017, 1:01 pm

Do you mean "Announcements block height (in pixels)" in "General announcements options"? If yes, it's 200px.
avatar
the60s
New Member

Posts : 14
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by SLGray on November 15th 2017, 10:48 pm

That is what I was referring to.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40868
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum