How To Expand Custom Image Header
We hear it many times...
"How can I make my header image expandable to screen width?" This tutorial will help you accomplish this task. Requirements:
Let's start with a 780px header image ... you can use the example image below... https://vborg.vbsupport.ru/ Then Crop the leftside (your logo part): https://vborg.vbsupport.ru/ And save it as head_left.gif https://vborg.vbsupport.ru/ Second crop the right side of the header image as shown below: https://vborg.vbsupport.ru/ And save as head_right.gif https://vborg.vbsupport.ru/ Next select background image -just 1 or 2px width like shown below: https://vborg.vbsupport.ru/ Crop the selected part and save it as headbg.gif: https://vborg.vbsupport.ru/ Now load all the three images to the misc folder of images... Next goto admincp> styles&templates> style manager> all style options> scroll down to header https://vborg.vbsupport.ru/ Delete the existing code complete and insert the follow there: Code:
<!-- logo --> |
Helpful tut ... many people will find this useful :up:
Great job! |
Very nice tutorial, GJ
|
I just did this on my site, though I've used css rather than a table for those who would rather here is how I did it. Save images the same as explained above then in the header put
Code:
<div style="width:100%; background-image:url($stylevar[imgdir_misc]/headbg.gif); background-repeat:repeat-x;"> |
Thank you z - I've been using this tut of yours for some time - very helpful!
|
thanks for the tip man. this will add up to my skin designing skills ;)
[edit]After trials and errors for 1/2 hour, I found something that will not work if you want your skin to be fluid. see the code below: PHP Code:
|
Quote:
Cheers |
I am trying to add a header which has curved edges to my forum using this technique. However, my middle background bit is repeating under the invisable pixels of left and right header images. I'm stumped as to how to stop that happening?
(great tut by the way! :)) |
Quote:
Code:
<!-- logo --> |
very nice..
|
All times are GMT. The time now is 02:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|