Jump to content
Sign in to follow this  
manenberg

Social icon Placement

Recommended Posts

manenberg

Is there a way to put the social icons that I want to use next to my header. I want them on the upper right side of my site. My header is only taking up half of the width of the site. I have the icons in the side bar with a widget now and I used custom icons which I want to move up. www.broadviewagoura.com Thanks, Marc

Share this post


Link to post
Share on other sites
manenberg

Thanks but I dont know how to program so this is above my head.

Share this post


Link to post
Share on other sites
catrina

Here's a brief breakdown of the tutorial. 1) Go to Appearance > Editor to open Theme Functions (functions.php) then find and delete this code: ` // what the function does??“in this case 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 ?> <?php ` Now save the file. 2) Now you should see this in your functions.php file: ` // add_action('hook_name','function name'); add_action('pagelines_branding_icons_end', 'add_icons_to_branding'); // function name function add_icons_to_branding(){ ` Delete the above code, replace it with the following, and save the file: ` // add_action('hook_name','function name'); add_action('pagelines_before_branding_icons', 'branding_icons'); // function name function branding_icons(){ ` branding_icons will be the name of the function that adds your icons to the place you want. 3) Now you're ready to add the code that will add the icons. I'll use your Facebook icon as an example. So far, your code looks like this: ` // add_action('hook_name','function name'); add_action('pagelines_before_branding_icons', 'branding_icons'); // function name function branding_icons(){ } // end function ` In the space directly below

function branding_icons(){

, you can add the HTML that will allow you to display the icons that you want. To finish up, follow the last step in this tutorial and you should be set. If you're still having problems, let us know.


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

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  

×