Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-29-2012, 05:09 AM
CyberEdge CyberEdge is offline
 
Join Date: Jan 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.



Is there any way to do this?
Reply With Quote
  #2  
Old 12-29-2012, 09:58 AM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 12-29-2012, 07:21 PM
CyberEdge CyberEdge is offline
 
Join Date: Jan 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It ended up like this: :s
Reply With Quote
  #4  
Old 12-29-2012, 09:10 PM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 12-29-2012, 09:17 PM
CyberEdge CyberEdge is offline
 
Join Date: Jan 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There was no difference :/
Reply With Quote
  #6  
Old 12-29-2012, 09:20 PM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you provide me a link to your forum? It might be something with the custom theme
Reply With Quote
  #7  
Old 01-07-2013, 10:02 PM
CyberEdge CyberEdge is offline
 
Join Date: Jan 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

I've looked around and still no luck :/
Reply With Quote
  #8  
Old 01-08-2013, 08:43 AM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04272 seconds
  • Memory Usage 2,230KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (8)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete