MyBB Community Forums

Full Version: Last Post [Netpen Theme]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello I have a problem with the netpen theme.

I would like to re-organize the template of the last post but where to start?

here is my forum: www.informatiquez.com

[Image: Sans-titre.png]


As you can see the titles of the topics are cut.

And there is an empty space between the avatar and the subject.

What templates should I edit and how?

Thanks in advance for your answer Smile
Edit this template
Forum Bit Templates >>forumbit_depth2_forum_lastpost

if you cant do it,send me a pm
Thanks for your answer !
I will try to edit this template tonight. And I give news Wink

(2020-05-07, 10:56 AM)Mastersly Wrote: [ -> ]Edit this template
Forum Bit Templates >>forumbit_depth2_forum_lastpost

if you cant do it,send me a pm

Thanks this helped me to align the block to the left.!!

I still have two things to do:
fill the space to the right of the last subject by stretching it
Move the avatar to the right. (should I edit the avatarep file?)

[Image: Sans-titre.png]
Here is the code snippet of the template:


<avatarep_uid_[{$lastpost_data['lastposteruid']}]><div class="col-md-3 col-sm-2 hidden-xs pull-right" style="text-align: left;">
<span class="smalltext" style="width: 100%;">
<a class="tt" href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date}<br />{$lang->by} {$lastpost_profilelink}</span>
</div> 
<span class="visible-xs" style="font-size: 13px;"><a class="label label-info member_label" href="{$lastpost_link}" style="float: left;font-size: 11px;color:#fff;">Dernier Post:</a>&nbsp;{$lastpost_date} <i class="fa fa-arrow-circle-right last-post-icon"></i></span>

Thanks Smile
avatarep.css
find
.avatarep_img, .avatarep_bg
add
margin-left: 26px;


If it not enought go in theme.css
find   this
.col-md-3
delete this
   padding-left: 30px;

If that changes something else on your forum then go
 forumbit_depth2_forum_lastpost find this
col-md-3 col-sm-2 hidden-xs pull-right and
and replace it with whatever else you want
(2020-05-07, 08:38 PM)Mastersly Wrote: [ -> ]avatarep.css
find
.avatarep_img, .avatarep_bg
add
margin-left: 26px;


If it not enought go in theme.css
find   this
.col-md-3
delete this
   padding-left: 30px;

If that changes something else on your forum then go
 forumbit_depth2_forum_lastpost find this
col-md-3 col-sm-2 hidden-xs pull-right and
and replace it with whatever else you want
Nothing changes after the changes Sad

Avatarep.css and theme.css no change. Avatar don't move

And in forumbit_depth2_forum_lastpost, 

only this piece of code(col-md-3) works when I change the number "3" (from top to bottom)
This code : (col-sm-2) nothing change
Do you use cloudflare ?
Yes i use cloudflare. why ?
Yes ! it's ok !
Thanks you very much Wink

I never would have thought it came from cloudflare !
Your welcome, but it doesnt look good now.
Go again in avatarrep.css line 105
find this
.avatarep_img, .avatarep_bg {
    padding: 3px;
    border: 1px solid #D8DFEA;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0.9;
    margin: auto;
    float: right;
    margin-left: 26px;
}
and delete this
    float: right;
Pages: 1 2