Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-12-2009, 08:38 AM   #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
namvijay is offline   Reply With Quote
Old 07-12-2009, 11:31 AM   #2
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
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>
This will override the default logo that is set in the template.

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.
Force Flow is offline   Reply With Quote
Old 07-12-2009, 08:37 PM   #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;
Do I have to create another header tag eg. #headeralt ?
namvijay is offline   Reply With Quote
Old 07-12-2009, 10:33 PM   #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>
But it is not working.
namvijay is offline   Reply With Quote
Old 07-12-2009, 11:41 PM   #5
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
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>
Force Flow is offline   Reply With Quote
Old 07-13-2009, 12:05 AM   #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
namvijay is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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



All times are GMT -5. The time now is 07:42 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2