Jump to content


Photo
- - - - -

Change Fixed Navbar Logo Link From Homepage To External Link


  • Please log in to reply
6 replies to this topic

#1 thebrasseffect

thebrasseffect

    Member

  • Members

  • 15 posts
  • Framework Version:2.32
  • Country: Country Flag

Posted 18 November 2012 - 01:09 AM

I've created an address in my fixed navbar logo and I would like to have it linked to a google map when someone clicks the link instead of going to the homepage. The site is at

Please Login or Register to see this Hidden Content

and it's the logo and address image on the very top left (just trying to be specific, no one get offended :D ) Thanks in advance for your help.

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 18 November 2012 - 03:26 PM

Hello,

If that's a menu item created in Dashboard > Appearance > Menus all you need to do is:
1. Click Screen Options on the top right side. A drop down panel will open.
2. Check the box for Link Target
3. Click Screen Options to close the drop panel.
4. Click the down arrow on the menu item,
5. Edit the URL as desired, then check the box for Open link in a new window/tab.
6. Save the menu.

View the menu and click it. It will go to the desired location in a new tab or window keeping your visitor on the original site.

#3 thebrasseffect

thebrasseffect

    Member

  • Members

  • 15 posts
  • Framework Version:2.32
  • Country: Country Flag

Posted 19 November 2012 - 01:59 PM

Rob, boy do I wish that this had worked but unfortunately it's not the menu that seems to be the problem but it's the custom logo that's in the navbar. Currently, if you click on the custom logo it goes back to my homepage which in most cases is desirable but since I have an address attached to the logo, I want it go link to a mapquest address instead.

#4 thebrasseffect

thebrasseffect

    Member

  • Members

  • 15 posts
  • Framework Version:2.32
  • Country: Country Flag

Posted 19 November 2012 - 02:01 PM

Ooops, it's the Fixed NavBar Logo

#5 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 19 November 2012 - 07:33 PM

You'll need to change the URL in the navbar section file in base theme. Please see these instructions to learn how to edit the section properly:

Please Login or Register to see this Hidden Content



#6 thebrasseffect

thebrasseffect

    Member

  • Members

  • 15 posts
  • Framework Version:2.32
  • Country: Country Flag

Posted 20 November 2012 - 12:04 AM

Catrina, thanks for your response but I'm still not sure what I need to do. I read the page you provided but I didn't see anything specific about the navbar and when I looked for the "navbar" section in my base theme and my pagelines framework, I did not see that specific section. I had no idea it would be this difficult to change a link but we soldier on, I'm hopeful that we can get this solved soon.

#7 James B

James B

    Advocate

  • Moderators
  • 4985 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 20 November 2012 - 03:11 AM

Hi there, using Catrina's suggestion above you'll need to install the base theme and enter a filter into the functions.php within the base file.

There's a post with examples on how to do this attached.

Please Login or Register to see this Hidden Content