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 10-13-2012, 01:23 AM
ar15dcm ar15dcm is offline
 
Join Date: Apr 2012
Location: Georgia
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Move vbcms section widget down?

How can I move the VBCMS setion widget down? Its crammed up against the secondary header.
Attached Images
File Type: jpg Clipboard01.jpg (111.7 KB, 0 views)
Reply With Quote
  #2  
Old 10-13-2012, 04:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a CSS issue so you would need to provide a link to the exact page having the issue.
Reply With Quote
  #3  
Old 10-13-2012, 09:30 PM
ar15dcm ar15dcm is offline
 
Join Date: Apr 2012
Location: Georgia
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.riflecompetition.com" target="_blank">www.riflecompetition.com</a>

I have since removed the secondary header, but you can still see that the section widget is high.
Reply With Quote
  #4  
Old 10-14-2012, 12:50 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason there is a <br /> at the beginning of that code. You should find the template and try removing it.

HTML Code:
<ul class="list_no_decoration widget_list" id="widgetlist_column1"> <li><br /> <div class="cms_widget"> <div class="block"> <div class="cms_widget_content widget_content"> <style type="text/css">
Reply With Quote
  #5  
Old 10-14-2012, 01:03 AM
ar15dcm ar15dcm is offline
 
Join Date: Apr 2012
Location: Georgia
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so you mean the widget template? I'll go look now.

--------------- Added [DATE]1350180440[/DATE] at [TIME]1350180440[/TIME] ---------------

I didn't see a <br /> in there

PHP Code:
<script type="text/javascript">
<!--
    var 
IMGDIR_MISC "{vb:stylevar imgdir_misc}";
    var 
vb_disable_ajax parseInt("0"10);

        
/* Start Sections Widget Configuration */
        
vbGlobal_SHOW_ALL_TREE_ELEMENTS_THRESHOLD parseInt("{vb:raw show_all_tree_elements_threshold}");
        
/* End Seections Widget Configuration */
// -->
</script>
<
script type="text/javascript">
<!--
    
document.write('<script type="text/javascript" src="' yuipath '/treeview/treeview-min.js"></script>');
    
loadVbCss(yuipath '/treeview/assets/skins/sam/treeview.css');
//-->
</script>
<!-- 
end treeview css -->

<!-- 
custom treeview styles defined at templateheadinclude -->

<!-- 
END VB Tree-Menu Implementation of YUI TreeView -->
<
div class="cms_widget">
    <
div class="block">
        <
div class="cms_widget_header">
            <
h3><img src="{vb:stylevar imgdir_cms}/sections.png" alt="" /> {vb:raw widget_title}</h3>
        </
div>
        <
div class="cms_widget_content widget_content">
            <
div class="vb-tree-menu">
                {
vb:raw nodelist}
            </
div>
                <
noscript>
                    <
div class="cms_widget_sectionnav">
                        <
div class="cms_widget_sectionnav_page">
                            <
vb:each from="nodes" key="seq" value="node">
                                <
vb:if condition="$node['current_page']" >
                                    <
div class="active_menuitem" style="text-indent:{vb:math {vb:raw node.indent} * 20px}">
                                <
vb:else />
                                    <
div class="main_menuitem" style="text-indent:{vb:math {vb:raw node.indent} * 20px}">
                                </
vb:if>
                                <
a href="{vb:raw node.url}">{vb:raw node.title}</a></div>
                            </
vb:each>
                        </
div>
                    </
div>
                </
noscript>            
        </
div>
    </
div>
</
div>

<
script type="text/javascript">
    
initVbTreeMenus({vb:raw menu_static});
</
script
Reply With Quote
  #6  
Old 10-14-2012, 03:48 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look at the template that encloses that one. The <br /> seems to appear just before the <div class="cms_widget"> You've got some sort of code compressor on your site. Try disabling it and see if you still have the same problem.
Reply With Quote
  #7  
Old 10-14-2012, 05:40 PM
ar15dcm ar15dcm is offline
 
Join Date: Apr 2012
Location: Georgia
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay I sort of understand what you mean. This is the section nav widget. Which template template should I look at?
Reply With Quote
  #8  
Old 10-15-2012, 02:59 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look at the one that encloses it.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

(Note, you will need to disable that code compressor mod in order for the above to work.)
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 02:20 AM.


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.04875 seconds
  • Memory Usage 2,275KB
  • Queries Executed 12 (?)
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
  • (1)bbcode_html
  • (1)bbcode_php
  • (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
  • (1)postbit_attachment
  • (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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete