vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Rep Power too many spaces in postbit? (https://vborg.vbsupport.ru/showthread.php?t=318235)

Duckface 04-14-2015 04:23 PM

Rep Power too many spaces in postbit?
 
Hiya,

Here the problem that I have:


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:

HTML 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

HTML Code:

<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

1 Attachment(s)
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:

HTML Code:

.user_rep {
    text-align: center;
}

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

https://vborg.vbsupport.ru/attachmen...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

Quote:

Originally Posted by MarkFL (Post 2543087)
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:

HTML Code:

.user_rep {
    text-align: center;
}

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

https://vborg.vbsupport.ru/attachmen...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


All times are GMT. The time now is 09:00 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
  • Page Generation 0.03661 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete