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-21-2013 06:47 PM

Quote:

Originally Posted by Lynne (Post 2440209)
After you flatten your grid, you will put that full code into each of the textareas on the grid page.

Progress !!

After using that code I get ...

http://www.livinginkentucky.com/files/graphics/beta.png

Both side columns are as I want them to be. Now all I need is for the center to be 100%.

Looking at the code nothing stands out that I can change. What do you see?

Lynne 08-22-2013 01:45 AM

It shows up like that on my Layout Manager page also, but not on the actual Section page if you use the layout. (You'd have to look into the CSS in the admincp and see what is causing the issue if you want to change what it looks like in the admincp.)

K4GAP 08-22-2013 06:54 AM

I have the two sidebars set to the width I wanted. The center is what I can't get to cooperate.

http://www.livinginkentucky.com/file...s/artciles.png

I've tried every combination of code I can come up with on the center's settings. I even tried my zip code and area code but that didn't work :(

Here's the code that i'm presently using .... I ain't doing nothing else until someone has a brain fart :eek:

Code:

<style type="text/css">
.two_columns {float: right;}
.col_1 {width: 270px; float: left; margin-right: -250px;}
.col_2 {float:left; margin: 0  500px;}
.col_3 {width: 270px; float: right; margin-left: -250px;}
</style>

<div id="doc3" class="yui-tvb-l3">
    <div class="two_columns">
        <div class="col_2">
            <ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>
        </div>
        <div class="col_3">
            <ul class="list_no_decoration widget_list" id="widgetlist_column3">$column[3]</ul>
        </div>
    </div>
        <div class="col_1">
            <ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>
        </div>
</div>

Here it is live on my TEST SITE .

snakes1100 08-22-2013 07:11 AM

It needs a width & smaller margin.

Code:

.col_2 {
float: left;
margin: 0 270px;
width: 530px;
}


K4GAP 08-22-2013 07:25 AM

Quote:

Originally Posted by snakes1100 (Post 2440286)
It needs a width & smaller margin.

Code:

.col_2 {
float: left;
margin: 0 270px;
width: 530px;
}


I just tried this and it would work but using a pixel width will not allow the center to collapse or expand to fit different widths of the users monitors. Here it is set at 900px.

snakes1100 08-22-2013 07:31 AM

Yea, it seems to have more that just the missing width issue for that css layout, but i dont have one to test with, i was just playing around with the element in chrome.

K4GAP 08-22-2013 07:36 AM

Quote:

Originally Posted by snakes1100 (Post 2440288)
Yea, it seems to have more that just the missing width issue for that css layout, but i dont have one to test with, i was just playing around with the element in chrome.

Thanks for trying. This is starting to get really aggravating. Oh well.

snakes1100 08-22-2013 07:42 AM

Looking a bit more, it looks like column 1 is in a separate div than the center & right columns.

K4GAP 08-22-2013 07:46 AM

Quote:

Originally Posted by snakes1100 (Post 2440290)
Looking a bit more, it looks like column 1 is in a separate div than the center & right columns.

Can you tell anything from the code?

snakes1100 08-22-2013 07:53 AM

Not really, as i dont have a cms to test, i couldnt really say, but i do think the div's are screwed up.


All times are GMT. The time now is 02:16 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.01024 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (4)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