Jump to content
Sign in to follow this  
helvetik_a

Add different logos to different pages with hooks

Recommended Posts

helvetik_a

Hi,

I would like to add to every page a different logo. How can i do this? I read something about hooks, but there is no further information.

Or is this possibile with css?

 

Thx

 

Corina

Share this post


Link to post
Share on other sites
Rob

Hi Corina,

 

To be brutally candid, this is not a recommended practice as it will adversely affect your SEO.

 

You can however, add a branding image (logo) by CSS on an individual page.

 

You'll have to remove the Branding or BrandNav from your template and replace it with one of the available sidebars, or after installing, the Content Box.  In there you'd implement a customized div with a unique class like <div class='mycustomlogo">place the link to the destination</div>

 

For the CSS, you'll prefix the code with the page ID like such:

.page-id-2 .mycustomlogo { background-image: url ('theurltotheimage');}

 

For each page, you'll paste code for the unique logo.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
helvetik_a

thx a lot! i will try this out and let you know. i was unsure what would be the best way to do that :)

Share this post


Link to post
Share on other sites
Rob

Excellent.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
helvetik_a

That worked perfectly! Thx a lot!!!

Share this post


Link to post
Share on other sites
Rob

You're very welcome.


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  

  • Similar Content

    • elementalkites
      By elementalkites+
      Good evening. I am attempting to use the Impulse section on a page I am working on (https://dev.elementalkites.com). The tool seems to have the ability to overlay a logo on top of the slider images but in my case it isn't working, even though I have added the logo file and given it a height to display at. I have attached a screenshot for reference. Any help would be appreciated.
       
       
    • lionel1
      By lionel1
      Hi,
      i try to put some images (Logos) in the Agency module / clients module section
      But i only can put 6 logos though the module propose to add more item
      Thanks for ur help
      Lionel 
      Capture d’écran 2017-06-27 à 20.55.27.png 
    • Michael Kummer
      By Michael Kummer+
      Hi guys,
      I just migrated from DMS to PageLines Platform 5 and noticed that after uploading my fav icon to Site Images, the default PageLines icon is still showing in my browser as well as in the HTML source code.
      The page in question is www.michaelkummer.com - is there anything else I need to do in order to update the favicon?
      Thanks
      Michael


    • Dana
      By Dana+
      Hi DMS team,
      Please help out on how to add Post tags to the bottom of each post. Tried looking at the hooks tutorials but not sure what to do here.
      Thanks a lot.
       
       
       
       
    • jvheintze
      By jvheintze+
      I just tried to figure out how to use Lax in combination with Post Thumbnails the following way: instead of showing the Featured Image on top of the content section I would like to have a Lax section above the content which loads for each post the featured image. To do so it seems there should be some kind of word press hook support necessary (not ready yet)? Or did I miss something?
×