Jump to content
Sign in to follow this  
purple

Pagelines Framework: Changing Header Image Link

Recommended Posts

purple

How can I change the page my header links to? In prior posts I haven't found this answer specific to pagelines yet. The answers I have seen so far are over a year old and usually point to changing the functions.php file. Is there a way to do this using the Pagelines Customize plugin so that it will update appropriately? I am using the branding area for the header. Thanks.

Share this post


Link to post
Share on other sites
Jenny
The header image links to the site URL you have set in Wordpress.

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
jeremykirke
How do you change it so the header image doesn't link to the site url?, for example, what I'd like to have is when a visitor clicks on the header image, it takes them to the contact page...

Share this post


Link to post
Share on other sites
Danny
@purple - can you provide a link to the forum post you're referring to please. @jeremykirke - can you provide a link to your website please. Also, I am not sure if this is true but having your logo/branding/header image link to something other than your homepage is actually bad for SEO. Why not simply add a link to your contacts page ?

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jeremykirke
Hi Danny, Site is: [url="http://cochrane.jckwebdesign.co.uk/"]http://cochrane.jckwebdesign.co.uk/[/url] Many thanks for looking at this..

Share this post


Link to post
Share on other sites
Danny
@jeremykirke Would the suggestion on this post not be better for you ? http://www.pagelines.com/forum/discussion/14846/make-header-jpeg-link-to-email-instead-of-root#Item_2

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jeremykirke
Thanks for the suggestion Danny, I added the code from the post you suggested to pagelines-customize/functions.php and the CSS to pagelines-customize/style.css. The phone number now shows in the header but it's defying all my attempts to style it to anything that looks like the phone number in the header image....I've managed to change the colour but that's all! Can you suggest anything? (The post you referred to was for PlatformPro and I'm using Framework, would that have anything to do with it?)

Share this post


Link to post
Share on other sites
Rob
Jeremy, you have a very wide graphic image in the header which is pushing the code down and forcing it to wrap. Since the number is a link you also need to style that as such. I don't see hover, active or link CSS in your code.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob
Also, I don't suggest using -10px... negative numbers cause problems with responsiveness.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
purple
Not sure which forum post it was as it has been a while. I was looking to do the same thing as @jeremykirke. I have a phone number in the header and want to link to the contact us page.

Share this post


Link to post
Share on other sites
catrina
Eh, you don't have to go around looking for it then. If you're looking to add a telephone number, you'll need to add it using a hook in the base theme or the PageLines Customize plugin.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
jeremykirke
Thanks all of you for your help. I gave up trying to get just the phone number to act as a link (it was getting too time consuming) and aimed instead to simply get the header image to act as the link. I found a forum post from rangelone relating to the same topic for PlatformPro: [url="http://www.pagelines.com/forum/discussion/15698/change-link-in-header-image-and-home-button/p1"]http://www.pagelines.com/forum/discussion/15698/change-link-in-header-image-and-home-button/p1[/url] It refers to a hook which I simply put in the pagelines-customize/functions.php It works, and the client is happy!! Thanks everyone!

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  

×