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 12-19-2010, 04:58 PM
josephu's Avatar
josephu josephu is offline
 
Join Date: Nov 2010
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Semi-transparent style?

I have a mainly transparent theme going on right now with my vbulletin, I have a background image that shows through on most aspects, Ive simply done this by typing transparent in all the color fields, Now Im thinking that semi-transparent would be the way to go, is there an easy way to adjust transparency? You know insteading of typing the rgb code or hex code or "transparent" could I type something else?
Reply With Quote
  #2  
Old 12-19-2010, 05:17 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use the following style elements

opacity:0.4; /* For most browsers */
filter:alpha(opacity=40); /* For IE */

You can add this to your elements in their CSS or directly to most elements by adding in

style="opacity:0.4;filter:alpha(opacity=40);"

Examples above are 40% opacity.
Reply With Quote
  #3  
Old 12-19-2010, 05:55 PM
josephu's Avatar
josephu josephu is offline
 
Join Date: Nov 2010
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I think I need to take a break, Ive been doing this non stop for hours, I cant figure out where and what to achieve the effect I want, I went to stylevars>(whatever) and typed in what you suggested in various variations to no avail. I went to 'edit templates' and couldnt figure it out either. If you have the patience to help me, could you please tell me exactly what and exactly where to type this opacity commands? Ill take a little break and come back to it. thanks
Reply With Quote
  #4  
Old 12-19-2010, 06:12 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I can help you our a$ much as you need if you'd like.
Reply With Quote
  #5  
Old 12-19-2010, 08:39 PM
josephu's Avatar
josephu josephu is offline
 
Join Date: Nov 2010
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, Im back at it, the background of my artcles is transparent allowing the bodys background image to shine through, I like this effect, I just want to make it a little less transparent to offer a little more distinction between article and background. also Id like to adjust this transparency in a few more areas as well, I know you told me what code to use, but where do I put it? In stylevars under the area I wish to make semi-transparent? (i.e. navbar background)
Reply With Quote
  #6  
Old 12-19-2010, 08:41 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you'd be better off adding it to additional.css and applying it to the class of the object you want to affect. for example

.navbar {
opacity:0.4; /* For most browsers */
filter:alpha(opacity=40); /* For IE */
}

but change navbar to the object you'd like to affect, and change the opacity to the level you'd like.
Reply With Quote
  #7  
Old 12-19-2010, 08:48 PM
josephu's Avatar
josephu josephu is offline
 
Join Date: Nov 2010
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you suggest navigating to additional css, typing the following exactly (assuming I want to apply this effect to "navbar")

.navbar {
opacity:0.4; /* For most browsers */
filter:alpha(opacity=40); /* For IE */
}


- type that exactly?

and then what about other areas? Im not sure on all the names (should I navigate to stylevars just to find out the correct name?) Do I just type for example

.body_background {
opacity:0.4; /* For most browsers */
filter:alpha(opacity=40); /* For IE */
}

to apply this to the bodys background?

each time changing the ".XXXX" to the area I wish to apply this effect to?
Reply With Quote
  #8  
Old 12-19-2010, 08:50 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You've got the general idea.

You need to download and install Firebug for Firefox so you can see the elements of the page and the different class names so you know what you need to change. I offer personal assistance if you'd like me to take care of it for you. Just send me a PM.
Reply With Quote
  #9  
Old 12-19-2010, 08:54 PM
josephu's Avatar
josephu josephu is offline
 
Join Date: Nov 2010
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok thank you

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

When I add the opacity code to my additional css, it still doesnt quite work, its just transparent, do I need to navigate to style vars and delete the word "transparent" from the area in wich I intend to apply opacity to? or do I need to supply a base color to make opaque (white maybe)? If I need to supply a color do I do it in additional css in the same "paragraph" as my opacity code

i.e.
.body_background {
background-color:#b0c4de;
""then the opacity code""?

If Im asking for too much information on a free forum, just let me know
Reply With Quote
  #10  
Old 12-20-2010, 03:43 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use translucent filters. I find them all over the net. Couple of friends made some for me that are white and translucent to varying degrees. (The 50 and 75 percent) If you can navigate photoshop or gimp you can make them yourself. Either of those I'm a dud at so please don't ask me. LOL Saydam2 came from a long since abandoned theme that used to be here.
I parked mine in a junk album for testing and used the url the album provides. Once I get it like I want it I move the images to a folder and ftp them up. I just change the url to point to the new location and I'm done.
Attached Images
File Type: png 50percent.png (26.6 KB, 0 views)
File Type: png 75percent.png (26.6 KB, 0 views)
File Type: png saydam2.png (369 Bytes, 0 views)
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 10:49 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.05253 seconds
  • Memory Usage 2,269KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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_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