![]() | | ||||||||
| | #1 |
| Active Warrior Join Date: Mar 2008 Location: Atlanta, Ga , USA.
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
|
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! | |
| | |
| | #2 | |
| Senior Warrior Member War Room Member Join Date: Jan 2008 Location: Alpharetta,GA, USA.
Posts: 1,440
Thanks: 497
Thanked 199 Times in 144 Posts
|
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:
Also check if you theme has an IE6 or Opera dedicated CSS file, you may have to change that as well. Good luck! | |
| | |
| | #3 |
| aka Avenuegirl War Room Member 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
|
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.
|
| And more about Jill Carpenter and life on Nantucket [Designer Wanted] Click Here For Details | |
| | |
| | #4 | |
| JohnYeo.name War Room Member Join Date: Jul 2008 Location: Singapore
Posts: 2,639
Blog Entries: 2 Thanks: 454
Thanked 237 Times in 123 Posts
| Quote:
With a smaller size graphic, it takes up less space and it loads faster. ![]() John | |
| | ||
| | |
| | #5 |
| Active Warrior Join Date: Mar 2008 Location: Atlanta, Ga , USA.
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
|
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! | |
| | |
| | #6 | |
| and his shiny metal ... War Room Member Join Date: Apr 2004 Location: 42.751109°N 73.408756°W
Posts: 1,407
Thanks: 531
Thanked 1,079 Times in 754 Posts
|
Tracey this is the code in your css file for the header. Quote:
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 | ||
| | |
![]() |
|
| Tags |
| blog, custom, custom header, header, wordpress |
| Thread Tools | |
| |
![]() |