Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 09-21-2008, 05:52 PM   #1
Active Warrior
 
Join Date: Mar 2008
Location: Atlanta, Ga , USA.
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to mlmwealthangel
Default Need Help with Custom Wordpress Blog Header

I have a custom header image that is uploaded to my wordpress blog. However, my theme requires that the header stretch across the width of the page.

Problem is that on my computer when the header looks fine, it looks distorted on other screens and vise versa. Arrghhh!

How do I adjust the code so that the header adjusts to the width of the screen no matter what the screen resolution is?

Thanks,
Tracey

7-Day Bootcamp Reveals...
How To Get On The 1st Page Of Google Within 24 Hours And Make Money Online FAST!
Click Here For FREE Access!

Connect with me on my Fan Page!
mlmwealthangel is offline   Reply With Quote
Old 09-21-2008, 10:07 PM   #2
Senior Warrior Member
War Room Member
 
Eric Lorence's Avatar
 
Join Date: Jan 2008
Location: Alpharetta,GA, USA.
Posts: 1,440
Thanks: 497
Thanked 199 Times in 144 Posts
Default Re: Need Help with Custom Wordpress Blog Header

Without looking at your site, you will probably need to go into your WP theme's CSS file and find the code that looks something like this:

Quote:
#header {

clear: both;

padding: 10px;

margin: 0 auto;

background: url(http://example.com/images(or other)/header.jpg) top right no-repeat;

height: 150px;

}
And make your modifications in there.

Also check if you theme has an IE6 or Opera dedicated CSS file, you may have to change that as well.

Good luck!
Eric Lorence is offline   Reply With Quote
Old 09-21-2008, 11:59 PM   #3
aka Avenuegirl
War Room Member
 
Jill Carpenter's Avatar
 
Join Date: Feb 2008
Location: Right where I want to be...
Posts: 5,423
Blog Entries: 23
Thanks: 1,337
Thanked 1,872 Times in 1,079 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Jill Carpenter
Default Re: Need Help with Custom Wordpress Blog Header

Usually with something like a header if it is just a graphic, I work backwards. Find the size of the image first. Then create a new file with all the same sizing (like in photoshop) and drag the image you want to use into it. Tweek it to fill in the desired space. Rename it the same as the file you're replacing and upload it with a file manager or FTP and write over the old file.

Jill Carpenter is online now   Reply With Quote
Old 09-22-2008, 12:02 AM   #4
JohnYeo.name
War Room Member
 
jhongren's Avatar
 
Join Date: Jul 2008
Location: Singapore
Posts: 2,639
Blog Entries: 2
Thanks: 454
Thanked 237 Times in 123 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to jhongren
Default Re: Need Help with Custom Wordpress Blog Header

Quote:
Originally Posted by avenuegirl View Post
Usually with something like a header if it is just a graphic, I work backwards. Find the size of the image first. Then create a new file with all the same sizing (like in photoshop) and drag the image you want to use into it. Tweek it to fill in the desired space. Rename it the same as the file you're replacing and upload it with a file manager or FTP and write over the old file.
Good advice, Avenuegirl!

With a smaller size graphic, it takes up less space and it loads faster.

John

jhongren is offline   Reply With Quote
Old 09-22-2008, 02:16 PM   #5
Active Warrior
 
Join Date: Mar 2008
Location: Atlanta, Ga , USA.
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to mlmwealthangel
Default Re: Need Help with Custom Wordpress Blog Header

Thanks everyone...

Avenuegirl...my theme didn't have a definite width, it was listed in the original theme as 100%. So in creating my header, it is designed as 980x250. But the format of the theme requires the image to stretch across the top...I have no idea what size is needed specifically because no matter what size I make it, it is distorted from one computer to the next.

I did center it as suggested by one warrior but it looks horrible and off.

So my main goal is to discover the code that allows the image to adjust no matter the screen resolution.

I need a little more guidance. Oh, and I forgot to leave a link to the blog so people could see it in my original post. It is The Network Marketing Success Blog

Thanks,
Tracey

7-Day Bootcamp Reveals...
How To Get On The 1st Page Of Google Within 24 Hours And Make Money Online FAST!
Click Here For FREE Access!

Connect with me on my Fan Page!
mlmwealthangel is offline   Reply With Quote
Old 09-22-2008, 02:33 PM   #6
and his shiny metal ...
War Room Member
 
ThomM's Avatar
 
Join Date: Apr 2004
Location: 42.751109°N 73.408756°W
Posts: 1,407
Thanks: 531
Thanked 1,079 Times in 754 Posts
Social Networking View Member's FaceBook Profile  View Member's YouTube Profile
Default Re: Need Help with Custom Wordpress Blog Header

Tracey this is the code in your css file for the header.
Quote:
#header{
width: 100%;
height: 120px;
margin: 0;
padding: 0;
background: url(images/traceyheader980x250.jpg) center no-repeat;
height: 250px;
border-bottom: 6px solid #000;
color: #fff;
clear: both;
}
Add this to it and it may solve your problem.

background-color:#580716;

You may want to also change the height to 250 to match your header image.

No need to worry about your IE style sheet.

I Donated to KimW - give a sig link to Kim W
Life: Nature's way of keeping meat fresh
Always remember that you are unique. Just like everyone else.
No matter how deep the ocean is, you can still break a window with a hammer
Getting old ain't for sissy's
ThomM is online now   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
blog, custom, custom header, header, wordpress

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 12:29 PM.