9 replies to this topic
#1
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 ...but would appreciate step by step instruction in making this happen.
#2
Posted 13 September 2012 - 07:53 PM
Hi
You can add an action for add a photo.
You can find at
You can see this links to begin:
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=" 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;}
You can add an action for add a photo.
You can find at
You can see this links to begin:
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=" 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
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
Posted 13 September 2012 - 08:19 PM
Would the featured branding plugin help me do this?
#5
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.
Yes, I believe is a better plugin to add a photo background on your header.
#6
Posted 13 September 2012 - 09:51 PM
does this mean I don't have to rewrite the code?
#7
Posted 13 September 2012 - 10:01 PM
Yes, you don´t have to rewrite the code.
The plugin make de work for you.
The plugin make de work for you.
#8
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.
You ask in the plugin´s forum if it does what you want.
#9
Posted 14 September 2012 - 01:03 AM
Good idea. Thanks
#10
Posted 14 September 2012 - 06:53 AM
Hi,
Is this issue now resolved ?
Is this issue now resolved ?
Also tagged with one or more of these keywords: header, hook, photo
PageLines Framework →
Technical Support →
base child theme configuration question: impacting main theme header navigationStarted by sgendry , Today, 05:51 PM |
|
|
||
PageLines Framework →
Customizations →
Header and Footer expansion customizationsStarted by casseysdesigns , 18 May 2013 |
|
|
||
PageLines Framework →
Technical Support →
Thoughts on header with search / widget functionalityStarted by eglashcreative , 09 May 2013 |
|
|
||
Change url of header (multisite)Started by winemonkey , 03 May 2013 |
|
|
||
Legacy Themes →
PlatformPro →
Round Top Corners of HeaderStarted by sedique , 01 May 2013 |
|
|











