Jump to content
Sign in to follow this  
helvetik_a

Add different logos to different pages with hooks

Recommended Posts

helvetik_a    0
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    547
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    0
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    547
Rob

Excellent.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
helvetik_a    0
helvetik_a

That worked perfectly! Thx a lot!!!

Share this post


Link to post
Share on other sites
Rob    547
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

    • 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?
    • Lucas
      By Lucas+
      Hi there! i was trying to increase the logo size and the font size on the Navi Bar. I've already read some other topics about this question, and let me tell you that i'm a little bit unexperienced on this topic. I don't know where exactly i have to insert the CSS code to modify this aspect. Here there is an screenshot of where i'm triying to add the code. Sorry for probably a very obvious question and thank you.

      greetings!

×