PDA

View Full Version : Rep Power too many spaces in postbit?


Duckface
04-14-2015, 04:23 PM
Hiya,

Here the problem that I have:

https://vborg.vbsupport.ru/external/2015/04/24.png

As you can see for some strange reason the Rep Power has indented right over to the side for some strange reason. I haven't edited any templates at all and really I would like the rep power value just next to it not over to the right. Has it been floated right or something?

ForceHSS
04-14-2015, 04:46 PM
We need a link to your site so someone can help with your custom style

Duckface
04-14-2015, 11:55 PM
<a href="http://spawnscape614.co.uk/forums/" target="_blank">http://spawnscape614.co.uk/forums/</a>

MarkFL
04-15-2015, 12:46 AM
In your "postbit_legacy" template, locate the code:

class="postbit_reputation"


This is associated with a span element. Remove the <center></center> tags wrapping this span element.

Duckface
04-15-2015, 03:13 AM
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
</vb:each>
</span><

I removed the center tag and still the value was indented to the right :S? I added the center tags a while ago to align everything center, although when I removed the center tags the value is still floated right, is this in the css or something?

MarkFL
04-15-2015, 06:18 AM
I misunderstood what you were wanting to do...I thought you wanted the green rep bars moved to the left, not centered. Your "additional.css" template has the following class:

.user_rep {
text-align: center;
}

If you disable that by either deleting or commenting it out, you will get:

https://vborg.vbsupport.ru/attachment.php?attachmentid=152256&stc=1&d=1429085723

Note: I also removed the <center></center> tags wrapping the span element containing the green rep bars, which you may want to put back. :D

Duckface
04-15-2015, 06:43 AM
I misunderstood what you were wanting to do...I thought you wanted the green rep bars moved to the left, not centered. Your "additional.css" template has the following class:

.user_rep {
text-align: center;
}

If you disable that by either deleting or commenting it out, you will get:

https://vborg.vbsupport.ru/attachment.php?attachmentid=152256&stc=1&d=1429085723

Note: I also removed the <center></center> tags wrapping the span element containing the green rep bars, which you may want to put back. :D

Oh, sorry about the confusion. Thanks for your help! <3

MarkFL
04-15-2015, 12:22 PM
You clearly stated "rep power value" in your first post, so the confusion on my part was all my doing. :D