Jump to content


Photo
- - - - -

Hooking photo in header

header hook photo

This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1 rosalie

rosalie

    Newbie

  • Members
  • 2 posts

Posted 13 September 2012 - 07:40 PM

Hi, How do I add a photo to the right of my logo in the header? I have read

Please Login or Register to see this Hidden Content

...but would appreciate step by step instruction in making this happen.

#2 batman

batman

    Bat Learning

  • Members

  • 2108 posts

Posted 13 September 2012 - 07:53 PM

Hi
You can add an action for add a photo.
You can find at

Please Login or Register to see this Hidden Content


You can see this links to begin:

Please Login or Register to see this Hidden Content


Please Login or Register to see this Hidden Content



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="

Please Login or Register to see this Hidden Content

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;}

Edited by Simon Prosser, 13 September 2012 - 09:19 PM.
edited to use code tags then unedited cos it exploded lol


#3 rosalie

rosalie

    Newbie

  • Members
  • 2 posts

Posted 13 September 2012 - 08:12 PM

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.

#4 rosalie

rosalie

    Newbie

  • Members
  • 2 posts

Posted 13 September 2012 - 08:19 PM

Would the featured branding plugin help me do this?

Please Login or Register to see this Hidden Content



#5 batman

batman

    Bat Learning

  • Members

  • 2108 posts

Posted 13 September 2012 - 08:57 PM

I´m a newbie too
:)
Yes, I believe is a better plugin to add a photo background on your header.

#6 rosalie

rosalie

    Newbie

  • Members
  • 2 posts

Posted 13 September 2012 - 09:51 PM

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

#7 batman

batman

    Bat Learning

  • Members

  • 2108 posts

Posted 13 September 2012 - 10:01 PM

Yes, you don´t have to rewrite the code.
The plugin make de work for you.

#8 batman

batman

    Bat Learning

  • Members

  • 2108 posts

Posted 13 September 2012 - 10:08 PM

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.
;)

#9 rosalie

rosalie

    Newbie

  • Members
  • 2 posts

Posted 14 September 2012 - 01:03 AM

Good idea. Thanks

#10 Danny

Danny

    Is Awesome!

  • Moderators
  • 16289 posts

Posted 14 September 2012 - 06:53 AM

Hi,

Is this issue now resolved ?