|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (5 bit)
Join Date: Oct 2008
Posts: 16
|
wordpress - change logo for different page
Hi Guys,
Need help. I am building a wordpress based site for my friend. I need 3 pages on the site to display a different logo/header from the main pages. Is it possible to do that? If you can assist it will be great |
|
|
|
|
|
#2 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
For the page you want to change the logo for, go to the editor and switch to the source/html view.
Then, add something like this: HTML Code:
<style type="text/css">#header{ background-image: url("images/alternate-logo.png"); }</style> Note that you will have to double check to see where this logo is set to make sure you have the correct CSS tag.
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
#3 |
|
Member (5 bit)
Join Date: Oct 2008
Posts: 16
|
Thanks
I have the following in my style.css which calls the original logo (it think) Code:
#header {
width: 960px;
height: 90px;
color: #FFFFFF;
font-size: 16px;
font-weight: normal;
margin: 0px auto 0px;
padding: 0px;
overflow: hidden;
}
#header p {
padding: 0px 0px 5px 0px;
margin: 0px;
line-height: 20px;
}
#header #imageheader {
width: 960px;
height: 100%;
text-indent: -10000px;
background: url(images/logo.png) left top no-repeat;
|
|
|
|
|
|
#4 |
|
Member (5 bit)
Join Date: Oct 2008
Posts: 16
|
Hi Force Flow,
I added the code as requested and modified slightly. I am doing the correct one? HTML Code:
<style type="text/css">#header{ imageheader: url("images/logoalt.png"); }</style> |
|
|
|
|
|
#5 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Try this:
HTML Code:
<style type="text/css">#header #imageheader { background-image: url("images/logoalt.png"); }</style> |
|
|
|
|
|
#6 |
|
Member (5 bit)
Join Date: Oct 2008
Posts: 16
|
Great! Thank you so much!
Minor change is that need to include absolute address of the image, including http:.. Really appreciate your help |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|