-
Author
-
August 15, 2015 at 07:45 #73077
jerryd
ParticipantThe page layout has been broken if long name was given
August 15, 2015 at 15:37 #73105sharmstr
ModeratorTry 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 solutionAugust 17, 2015 at 06:53 #73348jerryd
Participantthe description will have same issue if it is too long~~
August 17, 2015 at 15:42 #73392sharmstr
ModeratorI 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 solutionAugust 18, 2015 at 04:37 #73511jerryd
Participantcos, I installed locally, haven’t deployed yet. so I donn’t have the link, sorry about that.
the attachment is about group directory page
August 18, 2015 at 14:41 #73544sharmstr
ModeratorCOPY 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 solutionAugust 19, 2015 at 13:54 #73703jerryd
Participantothers 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; }August 20, 2015 at 21:02 #73980Abe
KeymasterHello, 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 solutionAugust 20, 2015 at 21:08 #73981Abe
Keymasteror 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 -
AuthorPosts
Viewing 14 posts - 1 through 14 (of 14 total)
The topic ‘long name broke page layout’ is closed to new replies.