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 05-02-2014, 05:31 PM
EliasAlucard's Avatar
EliasAlucard EliasAlucard is offline
 
Join Date: Nov 2009
Location: Sweden
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vB4 board shadow effect?

On vB3, and as we can see on this very forum, there's a small shadow around the forum board. This effect seems to have been removed in vB4? Because I cannot find it, nor have I ever seen a skin with this shadow effect.

Is there any way in stylevars to skin a vB4 forum with a shadow like this vB3 skin?
Reply With Quote
  #2  
Old 05-02-2014, 09:41 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Styles & Templates --> Search in Templates --> Search for Text --> additonal.css (In style of your choice) --> Add to additional css...

Try Something like this in the additional.css
Code:
.body_wrapper {
   -moz-box-shadow: 4px 4px 5px #FF0000;
   -webkit-box-shadow: 4px 4px 5px #FF0000;
   box-shadow: 4px 4px 5px #FF0000;
}
Code:
Change #FF0000  to your shadow colour / color
Reply With Quote
Благодарность от:
EliasAlucard
  #3  
Old 05-03-2014, 06:02 AM
EliasAlucard's Avatar
EliasAlucard EliasAlucard is offline
 
Join Date: Nov 2009
Location: Sweden
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ Yeah, that worked. However, it only shows the shadow on one side, and only in the body, not in the header. I'd like to have the shadow effect all over the board so to say, on both sides and under the footer as well as above the header.
Reply With Quote
  #4  
Old 05-03-2014, 11:06 AM
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This will help..



Code:
#Example_E {
-moz-box-shadow: 0 0 5px #888;
-webkit-box-shadow: 0 0 5px #888;
box-shadow: 0 0 5px #888;
}
or

Code:
#Example_F {
-moz-box-shadow: 0 0 5px 5px #888;
-webkit-box-shadow: 0 0 5px 5px #888;
box-shadow: 0 0 5px 5px #888;
}
http://www.css3.info/preview/box-shadow/
Reply With Quote
Благодарность от:
EliasAlucard
  #5  
Old 05-03-2014, 11:34 AM
DreadsUK's Avatar
DreadsUK DreadsUK is offline
 
Join Date: Jan 2014
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by billstelling View Post
This will help..



Code:
#Example_E {
-moz-box-shadow: 0 0 5px #888;
-webkit-box-shadow: 0 0 5px #888;
box-shadow: 0 0 5px #888;
}
or

Code:
#Example_F {
-moz-box-shadow: 0 0 5px 5px #888;
-webkit-box-shadow: 0 0 5px 5px #888;
box-shadow: 0 0 5px 5px #888;
}
http://www.css3.info/preview/box-shadow/
Hope you guys dont mind me jumping in (dont mean to hijack) just interested in this also

just tried the code but it doesn't cover the top of the page

Reply With Quote
Благодарность от:
EliasAlucard
  #6  
Old 05-03-2014, 03:45 PM
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Because those elements are above the body. You will have to add it for the header and nav, as well as getting the shadow code correct to pull off the effect.
Reply With Quote
  #7  
Old 05-04-2014, 08:25 AM
DreadsUK's Avatar
DreadsUK DreadsUK is offline
 
Join Date: Jan 2014
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code is for box which puts the shadow all around the nav bar. How to i add it to just the sides of it?
Reply With Quote
  #8  
Old 05-04-2014, 09:20 AM
EliasAlucard's Avatar
EliasAlucard EliasAlucard is offline
 
Join Date: Nov 2009
Location: Sweden
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by billstelling View Post
Because those elements are above the body. You will have to add it for the header and nav, as well as getting the shadow code correct to pull off the effect.
Where do I place the shadow code in the header and nav elements?
Reply With Quote
  #9  
Old 05-04-2014, 11:06 AM
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any css style element can be change via Additional CSS. So most times anything you don't change using the stylevars gets added to it.

for the header it would be:
Code:
.header {
-moz-box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
-webkit-box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
}
for the navbar it would be:
Code:
.navbar {
-moz-box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
-webkit-box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
}
It should be something like that..
Reply With Quote
  #10  
Old 05-04-2014, 11:17 AM
DreadsUK's Avatar
DreadsUK DreadsUK is offline
 
Join Date: Jan 2014
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by billstelling View Post
Any css style element can be change via Additional CSS. So most times anything you don't change using the stylevars gets added to it.

for the header it would be:
Code:
.header {
-moz-box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
-webkit-box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
}
for the navbar it would be:
Code:
.navbar {
-moz-box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
-webkit-box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
box-shadow: 0 2px 5px 5px #888, -0 -2px 5px 5px #888;
}
It should be something like that..
neither of those worked

--------------- Added [DATE]1399206015[/DATE] at [TIME]1399206015[/TIME] ---------------

This is what i've got so for working



resulting in this

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 07:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07681 seconds
  • Memory Usage 2,275KB
  • 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
  • (10)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete