Announcement problem, text doesn't wrap

Go down

Announcement problem, text doesn't wrap

Post by the60s on Sun 12 Nov 2017 - 19:59

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.


Last edited by the60s on Fri 24 Nov 2017 - 11:36; edited 1 time in total
avatar
the60s
New Member

Posts : 18
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 Sun 12 Nov 2017 - 20:22

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 : 43662
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on Sun 12 Nov 2017 - 20:32

The first one:


The second one





Last edited by the60s on Fri 24 Nov 2017 - 11:37; edited 1 time in total
avatar
the60s
New Member

Posts : 18
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 Sun 12 Nov 2017 - 20:56

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 : 43662
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on Sun 12 Nov 2017 - 20:58

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 : 18
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 Sun 12 Nov 2017 - 21:04

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 : 43662
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on Sun 12 Nov 2017 - 21:12

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 : 18
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 Mon 13 Nov 2017 - 5:31

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
Administrator
Administrator

Male Posts : 12458
Reputation : 1304
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on Mon 13 Nov 2017 - 8:18

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 : 18
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 Tue 14 Nov 2017 - 18:59

Bump.
avatar
the60s
New Member

Posts : 18
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 Tue 14 Nov 2017 - 22:47

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 : 43662
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on Wed 15 Nov 2017 - 7:01

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

Posts : 18
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 Wed 15 Nov 2017 - 16:48

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 : 43662
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Re: Announcement problem, text doesn't wrap

Post by the60s on Mon 20 Nov 2017 - 11:05

@SLGray wrote:That is what I was referring to.
Then I changed but that didn't affect.
avatar
the60s
New Member

Posts : 18
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 Tue 21 Nov 2017 - 12:07

Bump.
avatar
the60s
New Member

Posts : 18
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 Fri 24 Nov 2017 - 10:40

Bump.
avatar
the60s
New Member

Posts : 18
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 Fri 24 Nov 2017 - 11:37

Nevermind. Solved!
avatar
the60s
New Member

Posts : 18
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Back to top


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