vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Custom grid ? how do I ... (https://vborg.vbsupport.ru/showthread.php?t=301365)

K4GAP 08-19-2013 10:06 AM

Custom grid ? how do I ...
 
I want to have three vertical sections on my Articles page. I'm using the grid below ...


Code:

<grids>
    <grid name="Mine" auxheader="0" auxfooter="0" addcolumn="1" addcolumnsnap="1" addcolumnsize="4" columns="4"><![CDATA[<div id="doc3" class="yui-tvb-r4">
    <div id="bd">
        <div id="yui-main">
            <div class="yui-b">
                <div class="yui-gd">
                    <div class="yui-u first yui-panel">
                        <ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>
                    </div>
                    <div class="yui-u yui-panel">
                        <ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="yui-b yui-sidebar">
            <ul class="list_no_decoration widget_list" id="widgetlist_column3">$column[3]</ul>
        </div>
    </div>
</div>
]]></grid>
</grids>

Which results in this ....
http://www.livinginkentucky.com/file...gridscreen.jpg


What I want and need is for the left column to be the same width (300px) as the right side sidebar that I have set at 300px.

Using the code example above, what changes in it have to be made to accomplish what I want?

Lynne 08-19-2013 02:52 PM

Did you try a search? I think your grid has been posted before. There are also a bunch of grids in the modifications area.

K4GAP 08-19-2013 09:18 PM

Lynne I never got it the first time, maybe I should just settle for what I have. I ain't very bright.

Lynne 08-19-2013 11:04 PM

searching "grid*" in all forums/titles only gives me these (and several other threads)....

https://vborg.vbsupport.ru/showthrea...hlight=grid%2A
https://vborg.vbsupport.ru/showthrea...hlight=grid%2A
https://vborg.vbsupport.ru/showthrea...hlight=grid%2A
https://vborg.vbsupport.ru/showthrea...hlight=grid%2A

K4GAP 08-20-2013 05:22 PM

Quote:

Originally Posted by Lynne (Post 2439851)

I had done that before the post. Seems there are quite a few other users that are as dumb as me.

My next move will be to bum around and find other vb forums that have the layout I want and then hound them for their grid code. It really shouldn't be that hard to do.

Lynne 08-20-2013 10:00 PM

Your own thread that you started here - https://vborg.vbsupport.ru/showthrea...hlight=grid%2A - does what you want except it has the two side columns at 240px instead of 300px. I'm sure you can modify the CSS to change it for you.

K4GAP 08-20-2013 10:18 PM

My left column was 25%. I want a set left column at whatever pixel I choose. The 300px on the right column is the only thing I have control of in pixels.

Or, am I also not understanding what you are trying to tell me?

Lynne 08-21-2013 03:11 PM

In that thread, the second post here - https://vborg.vbsupport.ru/showpost....66&postcount=2 - is a 240px, 100%, 240px grid. Just change the couple of lines at the top that mention 240 and 250 to 300 and 310 and it should work fine.

K4GAP 08-21-2013 06:29 PM

Quote:

Originally Posted by Lynne (Post 2440144)
In that thread, the second post here - https://vborg.vbsupport.ru/showpost....66&postcount=2 - is a 240px, 100%, 240px grid. Just change the couple of lines at the top that mention 240 and 250 to 300 and 310 and it should work fine.

I'll give it a try right now, thanks.

* after seeing code*

Does the style portion of that code stay with the code or does it go in additional?

Lynne 08-21-2013 06:34 PM

After you flatten your grid, you will put that full code into each of the textareas on the grid page.


All times are GMT. The time now is 11:48 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.01026 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete