The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Announcement problem, text doesn't wrap

    the60s
    the60s
    New Member


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Announcement problem, text doesn't wrap

    Post by the60s 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.


    Last edited by the60s on November 24th 2017, 5:36 pm; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

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

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



    Announcement problem, text doesn't wrap  Slgray10

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


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

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

    The first one:


    The second one





    Last edited by the60s on November 24th 2017, 5:37 pm; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

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

    So you have all them in one announcement?

    Exactly do you mean the homepage message?



    Announcement problem, text doesn't wrap  Slgray10

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


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

    Post by the60s 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.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

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

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



    Announcement problem, text doesn't wrap  Slgray10

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


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

    Post by the60s 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.

    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19325
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

    Post by Ape 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;
    }



    Announcement problem, text doesn't wrap  Left1212Announcement problem, text doesn't wrap  Center11Announcement problem, text doesn't wrap  Right112
    Announcement problem, text doesn't wrap  Ape_b110
    Announcement problem, text doesn't wrap  Ape1010
    the60s
    the60s
    New Member


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

    Post by the60s 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.
    the60s
    the60s
    New Member


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

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

    Bump.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

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

    What height (AP) have you set for announcements?



    Announcement problem, text doesn't wrap  Slgray10

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


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

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

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


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

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

    That is what I was referring to.



    Announcement problem, text doesn't wrap  Slgray10

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


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

    Post by the60s November 20th 2017, 5:05 pm

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


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

    Post by the60s November 21st 2017, 6:07 pm

    Bump.
    the60s
    the60s
    New Member


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

    Post by the60s November 24th 2017, 4:40 pm

    Bump.
    the60s
    the60s
    New Member


    Posts : 23
    Reputation : 1
    Language : English, Polish

    Announcement problem, text doesn't wrap  Empty Re: Announcement problem, text doesn't wrap

    Post by the60s November 24th 2017, 5:37 pm

    Nevermind. Solved!

      Current date/time is September 23rd 2024, 12:30 am