vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   forumdisplay template customization (https://vborg.vbsupport.ru/showthread.php?t=282320)

John Lester 05-02-2012 03:05 PM

forumdisplay template customization
 
Howdy folks :)

Ok I'm trying to customize my forumdisplay template. I have done almost everything that I want to do, except for the following. I want to rearrange the bottom "boxes".

#1 Separate "icon legend" and "forum rules" so the are on separate lines and are full width like "forum info".

#2 Move "forum information and options" under "forum rules" This one isn't a must have, I can live with it being on top of the legend and forum rules.

I can get "forum rules" under "icon legend" by adding a line break, but that doesn't make either one full width.

When I move the "forum information" div it screws everything up. I'm think it's a nesting snafu but after 2 hours I can't seem to figure it out :p

Also I have tried moving "forum rules" above "forum info" and that screwed up the page as well, and I'm not really sure why.

Now technically I'm doing this on a custom style (one of the whirlwinds) however the code for forumdisplay template is a match to vb's default.

John Lester 05-04-2012 12:34 PM

Ok how about just redefining the size of the icon legend div and the forum rules div?

kh99 05-04-2012 01:18 PM

You can do it by add something to the additional.css template - but I don't know what CSS you'd need. I tried this:

Code:

.forum_info .options_block, .thread_info .options_block, .forum_info .options_block2, .thread_info .options_block2 {
    width: 100%;
}


and it seems like a start, but I only know simple CSS so I don't know how to fix it all.

John Lester 05-05-2012 02:59 PM

Thanks kh99 :)

It is indeed a start, and the vanilla CSS is a bit more detailed (asked on vbulletin.com as well) so I'll fiddle around for awhile and hope I can get the results I am looking for :)


All times are GMT. The time now is 09:12 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.01240 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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