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 12-13-2008, 03:37 PM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Logo how to....pls help, I dont have HTML knowledge :(

How can I fill space to the right of logo, that is I would slice peace of my logo end (width 2px hight 60px) and I would like to set this small image to multiply as much as needed to fill empty space right of logo making it nice (filling all empty place as far as my width of forums are) ?
Also how to place picture above logo and do same thing as I mentioned above ?
Pls if this is complicated to explain here give me few pointers how to do this, some links or....

My english is poor so Iam leaving this link to explain what I want
Something like this:
http://www.sportcityrider.com/SCRBlo...wentry.php?e=4

Thanks in advance
Regards
Goran
Reply With Quote
  #2  
Old 12-13-2008, 03:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you look at what they did on that site, they applied a <div id="logostrip"> around the table. And the css for that puts a background images across the area:
HTML Code:
#logostrip { 
	background-image: url(http://www.sportcityrider.com/images/cyclic/misc/logostrip_bg.gif); 
	padding: 0; 
	margin: 0;
	width: 100%;
	height: 125px; 
}
Reply With Quote
  #3  
Old 12-13-2008, 04:34 PM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for dumb question...but where exactly I should put my code similar to this one you mentioned, and where that slice should be placed ?

images/cyclic/misc, in my misc directory ?

Just few more words (short idiot manual)

Thanks

ps
My neighbour has nice girlfriend, and we all 'love' her....I can introduce her to you for this
Reply With Quote
  #4  
Old 12-13-2008, 05:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The css would go at the bottom of the Main CSS page for your style. You need to change it to the path of your own background strip which you can put wherever you want - although I'd suggest images/misc (cylic/misc is his own path, you need to do it for the path on your site). Then in your header template, you need to add the div around your table.


Thanks for the offer of the introduction to the girlfriend, but I don't swing that way - I'm female.
Reply With Quote
  #5  
Old 12-13-2008, 06:30 PM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ohhh coff cooff
Marry me and do my pages for free

Sorryz cuz....I should be a lumberjake in a free time not wannabe VB webmaster

So here I go again with few more dumb questions and sorry for that but...no other options at the moment

Can you be bit more specific about inputing CSS code
Admin CP -> Styles & Templates -> Style Manager -> My Style -> Main Css ->....somewhere here or ...?
Code:
#logostrip { 
	background-image: url(http://www.mydomain.com/images/cyclic/misc/logostrip_bg.gif); 
	padding: 0; 
	margin: 0;
	width: 100%;
	height: 125px; 
}
Of course I will under images create new directory named 'cyclic', where I will place that slice !?
And finaly that 'div'around my table, how and where I shoul do that

Thank you very much for this kind walktrough for CSS-HTML-crock as Iam
Going right now to exercis my axe on one oak
Hope will fall where it should this time
Reply With Quote
  #6  
Old 12-13-2008, 07:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you go to Styles & Templates -> Style Manager -> My Style -> Main Css, at the bottom is Additional CSS Options. Add it in there. Don't bother creating a directory named cylic, just use one that already exists. You probably have image/misc already, so just use that. Then it would be
http://www.mydomain.com/images/misc/logostrip_bg.gif

In your header, you probably have something like this (this is default 3.8), you should add the part in red:
Code:
<div id="logostrip">
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
    <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    <td align="$stylevar[right]" id="header_right_cell">
        <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    </td>
</tr>
</table>
</div>
<!-- /logo -->
I don't really know what the result will be here since I haven't tried it. I think I usually see people just add it into the table tag or the row tag. You can try that if this gives weird results - just add id="logostrip" into either the table of row tag - ie. <tr id="logostrip">.

Also, check the height of your background that you are adding and change the css height to be correct - ie. height: xxxpx;
Reply With Quote
  #7  
Old 12-14-2008, 03:18 AM
MPDesignZ MPDesignZ is offline
 
Join Date: Feb 2007
Location: Daytona Beach, FL
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There have been some problems in the past with IE not rendering div tags properly so the div tags may or may not show in all browsers the way you want them to. Usually what I do is put the header in a table. You can easily do this if you have adobe photoshop with image ready installed. If you don't you could send me your logo and I can splice it for you and set up the code that you will need to place into your header template.
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 01:34 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.04385 seconds
  • Memory Usage 2,226KB
  • 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_code
  • (1)bbcode_html
  • (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