Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 07-19-2009, 12:04 PM
Junior Member
 
Join Date: 07-19-09
Posts: 2
iTrader: 0 / 0%
Need help with adding image to wp header.

Hello all

I'm having trouble adding a picture to my wordpress header. Specifically to the .header right. I'm sure it has something to do with the image sizing but I don't know how to make it work. Right now the image size is 192 x 125, but when I uploaded it the image properties show 192 x 30??? I would also like to remove any borders from the image so it blends into the theme backround properly. Any help would be greatly appreciated!

Here is the site: provenhemorrhoidtreatment.com.

The alt text shows up and it is clickable, but no pic??? Here is what I have in my stylesheet css:
Code:
img.alignright { padding: 4px; float: right; margin-top: 10px; margin-left: 10px;} img.center { padding: 4px; display: block; margin: 5px auto; clear: both;} h1, h2, h3, h4, h5, h6 { font-family: "Trebuchet MS", "Times New Roman", Tahoma; text-transform: capitalize; letter-spacing: -1px; } #wrapper { width: 900px; margin-right: auto; margin-left: auto;} #header a img{border:0} { float: left; width: 900px; padding-top: 6px; position: relative; background-image: url(http://provenhemorrhoidtreatment.com.../07/hemorrhoid treatment medical.jpg);background-repeat: no-repeat; background-position: center;} #header img { border-width: 390px;} .header-left { float: left; width: 390px; padding-top: 10px; padding-bottom: 20px;} .header-left h1 { font-size: 25px; margin: 0px; padding: 0px; float: left; width: 390px; color: #000000; line-height: 30px;} .header-left h1 a { color: #000000; text-decoration: none;} .header-left h1 a:hover { color: #990000; text-decoration: none;} .header-left p { font-size: 15px; font-weight: bold; margin: 0px; padding: 0px; float: left; width: 390px; line-height: 18px; color: #333333;} .header-right { float: right; width: 500px background-image: url('http://provenhemorrhoidtreatment.com/wp-content/uploads/2009/07/hemorrhoid treatment medical.jpg');background-repeat: no-repeat; background-position: center;}

Last edited by HTMLBasicTutor; 07-19-2009 at 03:53 PM.
 
Reply With Quote
  #2 (permalink)  
Old 07-20-2009, 02:45 AM
nic nic is offline
Member
Latest Blog:
None

 
Join Date: 10-19-07
Location: Australia
Posts: 36
iTrader: 0 / 0%
Try adding height to #wrapper and all the other relevent parts surrounding? Perhaps also the image CSS specs itself.
Code:
height:125px;
Code:
? whats this ? it does not appear correct, that's one hell of a border. #header img { border-width: 390px;}
 
Reply With Quote
  #3 (permalink)  
Old 07-20-2009, 06:35 AM
Junior Member
 
Join Date: 07-19-09
Posts: 2
iTrader: 0 / 0%
That doesn't seem to work?? I did fix the #header img. Any other suggestions?
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
image header woogley SEO Forum 4 06-08-2009 09:01 AM
Auto adding a header? homebrewpcgaming Coding Forum 3 05-27-2008 01:25 PM
Need Some Help in a header image sizzler_chetan Graphic Design Forum 12 05-27-2007 02:35 AM
Header image Brian Graphic Design Forum 7 08-12-2005 06:35 AM
Adding one image to another image via script Pimpen 2010 Coding Forum 19 08-07-2004 11:41 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 01:16 PM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.