Jump to the post that solved this thread.
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 8 Years, 3 Months, 3 Weeks ago Static Postbit
#1
Solved: 8 Years, 3 Months, 3 Weeks ago
Hi,
In my attachment I've provided a screenshot to show the problem, this is from a fresh MyBB install.

The postbit doesn't use a static postbit, it stretches as needed.
Can that be changed?

If there are too many stars, or if the custom title is too long, I'd prefer it push down to the next line.

Thanks.


Attached Files Thumbnail(s)
   
#2
Solved: 8 Years, 3 Months, 3 Weeks ago
CSS overflow or word-wrap

e.g. word-wrap:break-word;
Lost interest, sold my sites, will browse here once in a while. It's been fun.
#3
Solved: 8 Years, 3 Months, 3 Weeks ago
Question on this thread, where would you put this code exactly?
[Image: 2195oba.png]
#4
Solved: 8 Years, 3 Months, 3 Weeks ago
in the above case, you'd have to edit the template "postbit_user_details" or something like that and wrap the custom title and starts template vars in a <div> that has the style set to the type of fix you want
Lost interest, sold my sites, will browse here once in a while. It's been fun.
#5
Solved: 8 Years, 3 Months, 3 Weeks ago
I tried to put it into the postbit_classic
Since there doesn't seem to be a postbit_user_details
		<span class="smalltext" style="word-wrap:break-word">
<div style="word-wrap:break-word"> 
			{$post['usertitle']}<br />
			{$post['userstars']}
			{$post['groupimage']}
			{$post['useravatar']}<br />
			{$post['user_details']}</div>
		</span>

I know I put the word-wrap:breakword code in twice, but neither span or div are working.

#6
Solved: 8 Years, 3 Months, 3 Weeks ago
ah, i was thinking of the user_details variable. Its postbit_classic as you found out.

not sure what will solve your issue, this was my best guess. I am not very good with CSS
Lost interest, sold my sites, will browse here once in a while. It's been fun.
#7
Solved: 8 Years, 3 Months, 3 Weeks ago
I thought you had it, would've been my same guess. Smile

Any other possible solutions?
#8
Solved: 8 Years, 3 Months, 3 Weeks ago
Add the CSS to the "smalltext" class/id in your CSS file of the theme.
Why would you put the css into your html? There is a seperate file for a reason.
Also word-wrap doesn't work on images.
You need to set the TD width so that it won't stretch.

Try adding a <p></p> tag instead of the css around each of the fields if nothing else works.
- Connor L.
codiciousdesigner
.ocean-surface { position: relative; } #titanic { float: none; position: absolute; top: -3800m; }
#9
Solved: 8 Years, 3 Months, 3 Weeks ago
Solved with:
<div style="max-width:150px;"> </div>
#10
Solved: 8 Years, 3 Months, 3 Weeks ago
i think its now solved.

Good luck.
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)