![]() |
Last post text should line up better
The Last Post text on my forums home page lines up a bit odd.
http://img100.imageshack.us/img100/9263/picture1iq3.png http://img100.imageshack.us/img100/p...png/1/w380.png The date of the last post is on its own line, below the author. Is there a way I can get these to be on the same line, so it takes up less room? |
i want to edit that one too , cause using my style the last post title and the autor are the same exactly color , i wanna use different colors for that
|
Without seeing your site or the code you have set up currently, it's hard to be sure what you've done. My own site has the last post on the same line as the last poster.
|
1 Attachment(s)
should be this one ...
Code:
<div class="smallfont" align="$stylevar[left]"> i would like the name of the poster would be parsed as usually in the rest of the forum , with the color and style of his respective usergroup ( like 'who's online box' ) |
If I can figure out what template is responsible for this, I can probably poke around it enough to figure out how to make the change I want.
|
i take that code form the template
forumhome_lastpostby if u manage how to edit can u please help me too ? thanks |
Whenever you want to find a template, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.
|
Quote:
Anyways, this is in my forumhome_lastpostby template. The code for it is this: HTML Code:
<if condition="$show['lastpostinfo']"> |
1 Attachment(s)
i have finally done ... i explain how to so if some noob like me need this kind of thing it can follow my experience :)
1) add a new class in Additional CSS with attributes i would like to use ... Code:
.lastpostby, .lastpostbyActive Code:
<div class="lastpostby" style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>"> that's all , but it was so hard figuring out how to do this , i really take long time to search for the specific help and at the end i tried on my own ... :) |
@ Maxweel ...
this is ur code ... Code:
<div> like ... Code:
<div> i removed the Quote:
|
Okay, I played with the code and I'm getting closer to what I want. Right now, this is my code:
HTML Code:
<if condition="$show['lastpostinfo']"> http://img83.imageshack.us/img83/8812/picture1hd6.png http://img83.imageshack.us/img83/pic...png/1/w416.png So how can I get the time on the same line as the other text and be justified all the way to the right? |
.
Use table instead of divs ... if you wanna make sure they are in one line. PS. If user name is too long it will stretch the last post column. Tried and tested code below: HTML Code:
<if condition="$show['lastpostinfo']"> . |
That works. Thank you!
|
All times are GMT. The time now is 03:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|