This topic has 13 replies, 3 voices, and was last updated 9 years by jerryd.

  • Author
  • #73077
     jerryd
    Participant

    The page layout has been broken if long name was given

    Attachments:
    You must be logged in to view attached files.
    #73105
     sharmstr
    Moderator

    Try this css

    COPY CODE
    
    .buddypress div#item-header div#item-meta p {
        overflow: visible;
        word-wrap: break-word;
    }
    
    #main .alternate-color h1 {
        max-width: 80% !important;
        word-wrap: break-word;
    }
    
    .widget.buddypress div.item-title {
        word-wrap: break-word;
    }
    
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73345
     jerryd
    Participant

    it seems not working~~:(

    Attachments:
    You must be logged in to view attached files.
    #73348
     jerryd
    Participant

    the description will have same issue if it is too long~~

    #73382
     jerryd
    Participant

    the message has same issue as well.

    Attachments:
    You must be logged in to view attached files.
    #73392
     sharmstr
    Moderator

    I need to see a link for the one that’s not working.

    for messages

    COPY CODE
    
    #message-subject {
        word-wrap: break-word;
        max-width: 95%;
    }
    .message-content {
        word-wrap: break-word;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73511
     jerryd
    Participant

    cos, I installed locally, haven’t deployed yet. so I donn’t have the link, sorry about that.

    the attachment is about group directory page

    Attachments:
    You must be logged in to view attached files.
    #73513
     jerryd
    Participant

    why don’t set a max length for these fields?

    #73514
     jerryd
    Participant

    this is the breadcrumb title

    Attachments:
    You must be logged in to view attached files.
    #73544
     sharmstr
    Moderator
    COPY CODE
    
    .item-desc {
        width: 95%;
    }
    #groups-dir-list .item-desc p {
        overflow: hidden;
        word-wrap: break-word;
    }
    #groups-dir-list .item-title a {
        word-wrap: break-word;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73703
     jerryd
    Participant

    others are now working, but the breadcrumb still doesn’t work with this code

    COPY CODE
    #main .alternate-color h1 {
        max-width: 80% !important;
        word-wrap: break-word;
    }
    Attachments:
    You must be logged in to view attached files.
    #73980
     Abe
    Keymaster

    Hello, for the page title this should work:

    COPY CODE
    
    .main-title .page-title {
        clear: left;
        float: left;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }
    

    The codes will be part of the next theme version so after the next theme update you can remove the custom codes

    Many thanks @sharmstr, you are the best 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #73981
     Abe
    Keymaster

    or if you want the text visible:

    main-title .page-title {
        word-wrap: break-word;
        max-width: 100%;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #74034
     jerryd
    Participant

    It is glad to see this will be fixed in next release.
    Thanks guys, you are the best. 🙂

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘long name broke page layout’ is closed to new replies.

Log in with your credentials

Forgot your details?