Assistance on finishing custom social media icon hook
#1
Posted 18 October 2012 - 06:51 PM
add_action('pagelines_inside_top_branding', 'my_unique_icons');
// function name
function my_unique_icons(){
?>
<div class="my_unique_icons"><a href=" src="
</div>
<?php }
// end function
I also added the following to my custom CSS
#branding .my_unique_icons {
float: right;
z-index: 10;
position: relative;
}
Two issues I am trying to resolve.
1) How do I get it positioned to the left of the Google + Social Icon? Currently it is at the top left of the header.
2) I have 2 versions of the icon one for mouseover and one for non-mouseover. How do I reference these to have the same effect as the other social media icons?
#2
Posted 18 October 2012 - 07:57 PM
Do you want to аdd the icon in the text widget in footer?
If it is right, you can add a HTML on it.
#3
Posted 18 October 2012 - 10:34 PM
#4
Posted 18 October 2012 - 10:46 PM
Please, you can try with:
add_action('pagelines_branding_icons_start', 'my_unique_icons');
// function name
function my_unique_icons(){
?>
<div class="my_unique_icons"><a href=" src="
</div>
<?php }
// end function
#5
Posted 18 October 2012 - 11:58 PM
You can align next to the other icons using the following css
#6
Posted 19 October 2012 - 01:07 AM
Hi, now I understand sorry
src="
Please, you can try with:
add_action('pagelines_branding_icons_start', 'my_unique_icons');
// function name
function my_unique_icons(){
?>
<div class="my_unique_icons"><a href="
</div>
<?php }
// end function
I have implemented this code and now the iTunes logo is aligned correctly and the mouseover is working as it should. However the Google + icon is now below the iTunes logo almost off the screen. Any ideas?
#7
Posted 20 October 2012 - 01:55 AM

#8
Posted 20 October 2012 - 02:12 PM
Hi there, to move the icon so it's not pushing the other item down you'll need to align it with css. Please try the following, let us know if this works for you. The should show up link this
This worked! Thank you!
#9
Posted 20 October 2012 - 06:22 PM
Also tagged with one or more of these keywords: Resolved
Resolved
PageLines Framework →
Technical Support →
Anything Boxes And Polylang Language Filtering ProblemStarted by janpeeters , 01 Dec 2012 |
|
|
||
Header In Banner AlignmentStarted by bankrollbuilder , 28 Nov 2012 |
|
|
||
Resolved
PageLines Framework →
Customizations →
2 Hero UnitsStarted by starlit , 28 Nov 2012 |
|
|
||
Tabs Do Not Align HorizontallyStarted by hutruk , 28 Nov 2012 |
|
|
||
Resolved
PageLines Framework →
Customizations →
Reduce Margin In Contact FormStarted by texasx , 27 Nov 2012 |
|
|












