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

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2013, 06:22 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default CSS Advice

Hi Guys

Basically my current forum looks like this.

I'm upgrading to vB4 and after the same layout but using CSS.

However, im having problems with getting it to look right. Heres how it currently looks.

& heres the code.
Code:
#cat51 .forumhead + .childforum .L2:first-child .forumrow, #cat51 .forumhead + .L2 .forumrow {
    border-top: 0 none;
    height:100px;
}
#cat51 .forumrow .table {
    height: 100px;
}
#cat51 ol.childforum {
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}
#cat51 .childforum li.forumbit_post {
    clear: none;
    float: left;
    margin: 0;
    padding: 0;
    width: 50%;
}
#cat51 #forums .L1 .L2 {
    clear: none;
}
#cat51 .forumbit_post .forumrow .forumlastpost {
    clear: both;
    width: 95%;
}
#cat51 .forumbit_post .forumlastpost .lastpostby {
    display: block;
    float: left;
}
#cat51 .forumbit_post .forumlastpost .lastpostdate {
    display: block;
    float: right;
}
#cat51 .forumbit_post .forumlastpost .lastposttitle {
    display: block;
    float: left;
}
#cat51 .forumbit_post .foruminfo {
    clear: right;
    float: left;
    min-width: 50%;
    width: 70%;
}
#cat51 .forumbit_post .forumstats, #cat51 .forumbit_post .forumstats_2 {
    width: 20%;
height:100px;
}
#cat51 .forumbit_post .forumlastpost .lastposttitle {
    display: block;
    float: left;
}
#cat51 .forumbit_post .foruminfo {
    clear: right;
    float: left;
    min-width: 50%;
    width: 70%;
}
#cat51 .forumbit_post .forumstats, #cat51 .forumbit_post .forumstats_2 {
    width: 20%;
    height:100px;
}
#cat51 .forumthreadpost {display: none;}
#cat51 .forumlastpost {display: none;}
#cat51 .forumactionlinks {display: none;}
#cat51 .forumbit_post .foruminfo .forumdata .datacontainer {
    padding-left: 140px;
    width: 80%;
}
Any help appreciated.
Reply With Quote
  #2  
Old 07-04-2013, 06:26 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the issue on the test site that your asking about?
Reply With Quote
  #3  
Old 07-04-2013, 07:34 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe you messed up the doc width... You need to adjust it from style manager/yourstyle/style variables then look for doc width...

if you adjust that one, at least your main page will be centered in the screen not going out right or left...

also, you need to balance the left margin so basically you need to specifiy the following in the style manager/ style variables

1-max width, often it is 1280px or bigger a little...
2- width, often it is auto
3- min width, often 990px

try these first and see how things go with you...

yes, there is an issue with you top boxes not being aligned and that is because of percent adjustment...

Update: it turns out your doc margin is not set... you need to do it. also, I noticed that your other style Red one is working fine,,, if you want to use the blue one images, you can just exchange them and you will have the blue images on top of the red one...
Reply With Quote
  #4  
Old 07-09-2013, 01:39 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Thanks for the replies.

The issue comes about when I remove the CSS hiding 'lastpostby' then then throws the box out.

Basically I made them changes you mentioned, to no avil. The red has done the same as the blue. Maybe there is another remedy?
Reply With Quote
  #5  
Old 07-13-2013, 04:58 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump*
Reply With Quote
  #6  
Old 07-13-2013, 06:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't view your first link, so I have no idea what you want it to look like. You do seem to be missing a left-margin (unless that is intentional?). It would help to have an image of what you want it to look like.
Reply With Quote
  #7  
Old 07-19-2013, 07:01 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The 1st link is working, the effect I want is attached.
Attached Images
File Type: jpg Capture.jpg (55.0 KB, 0 views)
Reply With Quote
  #8  
Old 07-20-2013, 02:28 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They look very much the same, but you're not going to get it to look the same on your site since it is so much narrower than in the image.
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:35 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.09515 seconds
  • Memory Usage 2,247KB
  • Queries Executed 14 (?)
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_code
  • (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_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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete