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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-23-2008, 12:18 PM
jonnyjonny_uk jonnyjonny_uk is offline
 
Join Date: Nov 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Category strips

Can someone please help me with styling the category strips shaded from left to right. I have designed the category strip but need to know how to make it right size and fit any screen resolution. Also how come my nav bar and forum are different widths now with only changing the colours? See picture attached.

Thanks

Reply With Quote
  #2  
Old 11-23-2008, 04:14 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Can someone please help me with styling the category strips shaded from left to right.
  1. create the faded image
  2. Now add the image to category row via CSS
    HTML Code:
    background:#FFF url('background-image.gif') no-repeat top left;
Quote:
I have designed the category strip but need to know how to make it right size and fit any screen resolution.
have no idea what you are asking

Quote:
Also how come my nav bar and forum are different widths now with only changing the colours?
compare your templates with default .. it appears you may have removed $spacer_open or $spacer_close from a template
Reply With Quote
  #3  
Old 11-23-2008, 04:37 PM
jonnyjonny_uk jonnyjonny_uk is offline
 
Join Date: Nov 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much for your kind reply. I must of deleted some code by mistake as you say and replaced with the default code and it's correct size now.

As for the category bars I was meaning how do you know what size they need to be when you make them in photoshop?

Thanks for the help so far

John
Reply With Quote
  #4  
Old 11-23-2008, 05:35 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if it's left to right ...
it can be 1px in height
use
Quote:
background:#FFF url('background-image.gif') repeat-y top left;
the width of the image depends on how long you want the fade to be
Reply With Quote
  #5  
Old 11-23-2008, 06:01 PM
jonnyjonny_uk jonnyjonny_uk is offline
 
Join Date: Nov 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok thanks and I take it that code makes sure it goes right to the end of the category bar because that was the problem I was having. It was stopping short and you could see the previous colour underneath.

Thanks Princeton
Reply With Quote
  #6  
Old 11-23-2008, 06:41 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the end of the fade should be the same as that on the CSS

so if your cat bar is black your fade image should end in black

HTML Code:
background:#000 url('background-image.gif') repeat-y top left;
#000 is black (change it to whatever color your fade image ends)
Reply With Quote
  #7  
Old 11-24-2008, 04:22 PM
jonnyjonny_uk jonnyjonny_uk is offline
 
Join Date: Nov 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Princeton and I really appreciate your continued help with this and I'm afraid I have another question. How can I just make it 1px high when it will also be two colours from top to bottom? Basically the bar will be darker at the top and lighter at the bottom and a short fade at the right hand end. Sorry to mess you about and keep asking questions.

Thanks

John
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 06:50 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.03719 seconds
  • Memory Usage 2,216KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete