PDA

View Full Version : How to Remove time VB 4


Ahsan Ali
11-27-2014, 05:44 PM
https://vborg.vbsupport.ru/external/2014/11/5.png


How to remove time from post ans quick

Dave
11-27-2014, 07:21 PM
Postbit template, look for:

<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">,&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>

ozzy47
11-27-2014, 08:33 PM
I am pretty sure if you remove or comment that out, it will mess up the posthead.

So I would add this to the additional.css instead.

/* Start Hide Date And Time In Postbit */
.postbit .posthead .postdate, .postbitlegacy .posthead .postdate {
color: transparent;
}

.postbitlegacy .posthead .time {
color: transparent;
}
/* End Hide Date And Time In Postbit */

Also doing it that way eliminates the need for template editing.

Ahsan Ali
11-28-2014, 09:03 AM
thanks its done :)

ozzy47
11-28-2014, 09:09 AM
Glad it worked out for you. :)