Forums / General Questions / Header Image

Header Image

Locked

Views: 1,498

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
21 Apr 2010, 12:08 PM
#1
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Header Image

Hos do I change the size of the header Image. I have a different header but it is bigger than the current one in height and when I upload it the site cuts the bottom of it off.

Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

21 Apr 2010, 9:09 PM
#2
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Header Image

Is there a .php style sheet that I need to edit for it?

Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

21 Apr 2010, 10:10 PM
#3
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Header Image

So I tried to edit the image through the stylesheet by adding one line of code in the headerWrapper as below. For some reason it didn't work. It screwed the whole site up.

#headerWrapper {
margin: 0em;
padding: 0em;
height: 175px;/adjust to suit/

I'm totally lost!!

Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

22 Apr 2010, 1:34 AM
#4
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Header Image

Anyone... Please help.... I have been working on this all day and it's not working!! What am I doing wrong?!?!

Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

22 Apr 2010, 2:17 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Header Image

Copy /includes/languages/english/header.php to /includes/languages/english/your_template/header.php and edit these lines```php
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');

22 Apr 2010, 11:58 AM
#6
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Header Image

gjh42:

Copy /includes/languages/english/header.php to /includes/languages/english/your_template/header.php and edit these lines```php
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');

Thank you! :)

Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

23 Apr 2010, 1:07 AM
#7
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Header Image

gjh42:

Copy /includes/languages/english/header.php to /includes/languages/english/your_template/header.php and edit these lines```php
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');

Didn't work. I added the file like you said and then edited it to the correct size and file name and nothing! It's the exact same. Any thoughts?

Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

24 Apr 2010, 2:37 AM
#9
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Header Image

gjh42:

Perhaps there is something nonstandard about your site. Seeing it live would allow us to give the best advice.
Just got it working... Stupid me kept editing one file and them uploading the old file!!!! DUH!!!!!! :)

Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

24 Apr 2010, 3:04 PM
#10
firefly143 avatar

firefly143

New Zenner

Join Date:
Apr 2010
Location:
UK
Posts:
25
Plugin Contributions:
0

Re: Header Image

Hi guys i have the same problem, i have altered the header.php

Originally Posted by gjh42
Copy /includes/languages/english/header.php to /includes/languages/english/your_template/header.php and edit these lines
PHP Code:
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');

and i have altered my css. file which has moved my nav bar down but my logo still doesn't show the full image it is still cutting the bottom off, my question is how do i get the full image to show,
thanks, my live site address is http://www.samdana.co.uk

24 Apr 2010, 4:05 PM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Header Image

Your template has a non-standard div #logoContent inside the #logo div, and this has dimensions defined in the stylesheet:```
(line 124)
#logoContent{background:url(/includes/templates/RI_TEMPLATE_07/images/logo.png) no-repeat top left;width:248px;height:96px}
#logoContent span{padding-bottom:86px;padding-right:246px}

24 Apr 2010, 5:00 PM
#12
firefly143 avatar

firefly143

New Zenner

Join Date:
Apr 2010
Location:
UK
Posts:
25
Plugin Contributions:
0

Re: Header Image

Thankyou gjh42 that has worked a treat glad i could finally get it done :clap:

Do you know how to bring the home page link back to the logo because at the minute it is sitting right at the top of my logo. Sorry if my explanation isn't very good, when you click on a logo on a website no matter what page you are on it normally takes you back to the home page how do i bring that link back down to my logo. Thanks again big help.:clap:

25 Apr 2010, 1:19 AM
#13
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Header Image

I don't know why the template designer put the #logoContent div and the span inside the #logo div in place of the logo image, but they are of no use to you. I would say to just take them out and go back to the standard #logo containing the logo image, but I can't tell what has been changed in the PHP code, and it would break something to just delete stuff. I think your best bet now is to give the span some dimension so it can expand to let the link fill the logo:```
#logoContent span{padding-bottom:86px;padding-right:246px}
/change to/
#logoContent span {display: block; width: 474px; height: 155px;}

25 Apr 2010, 11:44 PM
#14
firefly143 avatar

firefly143

New Zenner

Join Date:
Apr 2010
Location:
UK
Posts:
25
Plugin Contributions:
0

Re: Header Image

well all i can say is thankyou, that worked a treat :bigups: the template is a free one from downloads section from rubik integration. it seems to have swayed slightly from the norm with the way it is designed (everything is linked together differently) and its proving a bit of a headache to work around but a newbie like me is getting there slowly. Thanks again gjh42 big help :clap: