MyBB Community Forums
Change the position of small text - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Change the position of small text (/thread-237053.html)



Change the position of small text - Reegz - 2022-11-25

How do I change the position of the text in the Red marked area in the attached photo?    

I would like the positioning like this:


(Thread Title)
By (Username), (Time)

I can't find In forumbit_Depth2_forum the words "By" or time but I can see "smalltext"
At the moment it all looks to be centered with 3 lines, I only want two lines, the Thread title and User and time
Same layout as this image    

Forum: https://uros-roleplay.net/index.php

I have managed to move the text to line up on the left but when I change Avatar float to left it scrambles the text:     

Many Thanks
-Reegz


RE: Change the position of small text - HLFadmin - 2022-11-26

Look for template forumbit_depth2_forum_lastpost


RE: Change the position of small text - tedem - 2022-11-26

If you share the template content, we can help.


RE: Change the position of small text - Reegz - 2022-11-27

(2022-11-26, 07:56 PM)tedem Wrote: If you share the template content, we can help.
Its worth mentioning I am using "Last posted avatar" plugin

This is the Template in Forumbit_depth2_forum_lastpost:

<avatarep_uid_[{$lastpost_data['lastposteruid']}]><span class="smalltext">
<a href="{$lastpost_link}" title="{$lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br /> {$lang->by} {$lastpost_profilelink}, </*>{$lastpost_date}</span>

When change the avatar icon float to left it scrambles the text


RE: Change the position of small text - HLFadmin - 2022-11-27

Quote:This is the Template in Forumbit_depth2_forum_lastpost:

<avatarep_uid_[{$lastpost_data['lastposteruid']}]><span class="smalltext">
<a href="{$lastpost_link}" title="{$lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br /> {$lang->by} {$lastpost_profilelink}, </*>{$lastpost_date}</span>

Default forumbit_depth2_forum_lastpost:

<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date}<br />{$lang->by} {$lastpost_profilelink}</span>

I'm not sure what </*> in your template represents.


RE: Change the position of small text - Reegz - 2022-11-27

(2022-11-27, 10:06 PM)HLFadmin Wrote:
Quote:This is the Template in Forumbit_depth2_forum_lastpost:

<avatarep_uid_[{$lastpost_data['lastposteruid']}]><span class="smalltext">
<a href="{$lastpost_link}" title="{$lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br /> {$lang->by} {$lastpost_profilelink}, </*>{$lastpost_date}</span>

Default forumbit_depth2_forum_lastpost:

<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date}<br />{$lang->by} {$lastpost_profilelink}</span>

I'm not sure what </*> in your template represents.
I have now cleared that out, It was from something I was trying, I still have had no luck with getting the result from the picture I attached in the first post Sad