Archived

This topic is now archived and is closed to further replies.

  • 0

Hooking photo in header


Question

Posted · Report post

Hi, How do I add a photo to the right of my logo in the header? I have read http://www.pagelines..._Themes ...but would appreciate step by step instruction in making this happen.

Share this post


Link to post
Share on other sites

9 answers to this question

Posted · Report post

Hi

You can add an action for add a photo.

You can find at

http://api.pagelines.com/hooks

You can see this links to begin:

http://www.pagelines...ustomize_Plugin

http://codex.wordpress.org/Plugin_API

For example, you add pagelines-customize/functions.php

add_action('pagelines_inside_top_branding', 'google_leaderboard_ad');

// function name

function google_leaderboard_ad(){

// This hook adds a stumbleupon icon to the header of your theme. The class referenced in the link can be seen in the style.css

// and is the image from the CSS is placed in the images folder

?>

<div class="leaderboard">

<img alt="" src="http://your image" style="width: 360px; height: 40px; float: right; " />

</div>

<?php }

// end function

Then you can edit the position with CSS rules, like

/*--POSICION LEADERBOARD--*/

#branding .leaderboard {

position: absolute;

left: 450px;

z-index: 28;}

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

I am a complete newbie at code ... I know it sounds easy to you but to me.. eek! I'll take a look at the links you suggested. Thanks.

Share this post


Link to post
Share on other sites

Posted · Report post

I´m a newbie too

:)

Yes, I believe is a better plugin to add a photo background on your header.

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

does this mean I don't have to rewrite the code?

Share this post


Link to post
Share on other sites

Posted · Report post

Yes, you don´t have to rewrite the code.

The plugin make de work for you.

Share this post


Link to post
Share on other sites

Posted · Report post

Be careful, I suppose that the plugin add a background and I read "add a photo to the right of my logo in the header"

You ask in the plugin´s forum if it does what you want.

;)

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

Good idea. Thanks

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

Is this issue now resolved ?

Share this post


Link to post
Share on other sites