vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Move icon legend (https://vborg.vbsupport.ru/showthread.php?t=293382)

CyberEdge 12-29-2012 04:09 AM

Move icon legend
 
As you can see in the image below, the icon legend takes up an unnecessary extra row, when it could be right aligned with the 'forum statistics' row.

https://vborg.vbsupport.ru/external/2012/12/5.jpg

Is there any way to do this?

WorldCraft 12-29-2012 08:58 AM

Sure!

Go to your Style Manager and edit template FORUMHOME. Backup your template first before making any changes.

Find:
HTML Code:

<div id="wgo_stats" class="wgo_subblock section">

One line above add:
HTML Code:

<table style="border-top:{vb:stylevar blocksubhead_border};">
<tr>
<td style="width:50%;">


Find:
HTML Code:

                                        {vb:raw template_hook.forumhome_wgo_stats}
                                </div>
                        </div>


One line below add:
HTML Code:

</td>
<td style="width:50%;">


Find:
HTML Code:

                                        {vb:raw template_hook.forumhome_icon_legend}
                                        </dl>
                                </div>
                        </div>


One line below add:
HTML Code:

</tr>
</table>

If you require additional instruction let me know.

CyberEdge 12-29-2012 06:21 PM

It ended up like this: https://vborg.vbsupport.ru/external/2012/12/4.jpg :s

WorldCraft 12-29-2012 08:10 PM

Try this:

Find:
HTML Code:

                        <div id="wgo_stats" class="wgo_subblock section">
                                <h3 class="blocksubhead">

Add style="border:none;" to the <h3> element so it looks like: <h3 style="border:none;" class="blocksubhead">

Find:
HTML Code:

                        <div id="wgo_legend" class="wgo_subblock section">
                                <h3 class="blocksubhead">

Add the style="border:none;" to this <h3> as well.

If this doesn't help, can you provide a link to your forum?

CyberEdge 12-29-2012 08:17 PM

There was no difference :/

WorldCraft 12-29-2012 08:20 PM

Can you provide me a link to your forum? It might be something with the custom theme

CyberEdge 01-07-2013 09:02 PM

<a href="http://vizor.us" target="_blank">http://vizor.us</a>

I've looked around and still no luck :/

WorldCraft 01-08-2013 07:43 AM

Change the style="width:50%;" to style="width:50%;vertical-align:top;" on both <td> elements.


All times are GMT. The time now is 08:19 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.01463 seconds
  • Memory Usage 1,727KB
  • 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
  • (8)bbcode_html_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