Jump to content
Sign in to follow this  
stug

Changing Branding on specific page

Recommended Posts

stug    0
stug

I would like to change the branding image on one specific page on the website. Doesn't look like I can do this in the page setup.

I have found the code in firebug relating to the header: branding .mainlogo-img, and the page id is 1372. How do I team these up to change the image for just that page?

Thanks

 

 

 

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

Wow, you do know how to challenge my skills! Compliments to you.

 

I've looked and I see that the core issue here is that the branding image isn't called by CSS, but by an old-fashioned HTML tag, which I'm sure isn't written that way in the code, since the image is uploaded via the Website Setup panel.

 

Here's the example of a site I found:

<div class="branding_wrap fix">
<a class="mainlogo-link" title="My Site" href="http://www.my-site.com/">
<img class="mainlogo-img" alt="My Site" src="http://www.my-site.com/wp-content/uploads/2013/01/my-site-branding.png">
</a>

There could be a hook created, but I'm still unclear how we'd establish the new branding on only one page.  Even a hook, to my limited experience with them, would probably not work for a single page.  If I may dare to suggest, doing this actually may hurt your search engine placemen, though that's only a personal observation. 

 

This kind of customization, going well beyond a simple CSS call or a stylesheet modification, necessitates the services of a developer.

 

One may, if desired, FTP into the site, downloading from wp-content/themes/pagelines/sections/ the branding folder.

 

Then, installing the Base Theme, one may upload the branding folder to the wp-content/themes/pagelines-template-theme/sections (you need to create this folder). You may edit the section.php inside the wp-content/themes/pagelines-template-theme/sections/branding.  In fairness, I'm working with this product now since 2011 and can't read any of the coding in that file.  I have fingers crossed for you though.

 

I still recommend a pro from http://www.pagelines.com/pros


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
stug    0
stug

Thanks Rob for saving me a lot of time juggling with code I know very little about. Sounds like it is best to just change my idea.

I had started looking at the code and thought that I could just reference the page and the class mainlogo-img

 and then change the image src .

That is interesting about the search engine placement, I was originally thinking of having a different image on each page!

Share this post


Link to post
Share on other sites
Rob    547
Rob

Now I'm glad I changed your mind. (I really didn't want to disappoint you.) A different branding image will throw a search engine into a tizzy, since it can't see a standard branding image file and wouldn't know what's what.  This is particularly true with Google, which has an image index as well as a content index.  It wouldn't know which branding is the correct one. 

 

I'd also consider the trademark aspects of the site.  Which branding image would be the official trademark of the site?  In a trademark registration or potentially, in a trademark dispute, you'd have one heck of a time sorting out that question.

 

Sticking to one branding image or logo is absolutely best policy.  I'm happy you reached that conclusion! It's the safest one.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×