Jump to content
Ilich

How To Align Button Social Networking Sharebar Space

Recommended Posts

Ilich

Hi all!
To add your own buttons of social networks in the sharebar space I used the plug-in "Pagelines Customize". In the file function.php of the plugin has been added to the following code:

 

add_action('pagelines_inside_bottom_sharebar', 'sharebar_link');
function sharebar_link(){ ?>
<!-- Put this script tag to the <head> of your page -->
<script type="text/javascript" src="//vk.com/js/api/openapi.js?68"></script>

<script type="text/javascript">
  VK.init({apiId: 3264105, onlyWidgets: true});
</script>

<!-- Put this div tag to the place, where the Like block will be -->
<div id="vk_like"></div>
<script type="text/javascript">
VK.Widgets.Like("vk_like", {type: "mini"});
</script>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
<a href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Ftrtr.ilich.ru&media=http%3A%2F%2Ftrtr.ilich.ru%2Fimages" class="pin-it-button" count-layout="horizontal"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>

<?php

}

 

This adds the buttons are arranged vertically:

 

GiNG.png

 

Help please, what am I doing wrong? How do I get the buttons aligned horizontally in a row with buttons by default?


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites
Danny

Hi,

 

You need to use custom CSS to style the new social icons you have added. We do not provide custom CSS support for user created code. I recommend you visit http://www.w3schools.com/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Ilich

Oh no!
On this I agree I can not!
You have to show your ultimatum, demanding:
Or you teach me how to align the button, or perform his promise to return the flag of my country in my profile!
:)
And if you are already seriously, can someone of the subscribers already solved this problem and simply share the solution?
Thanks in advance.


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites
Danny

Hi, We do not provide a teach CSS service, if you would like to learn more about CSS, then please use the following links. http://www.w3schools.com/ http://www.lynda.com/ Also, its most likely that the social share button you have added, has its own styling which is probably causing the issue. If you're still having issues, I recommend you contact one of our Pros - http://www.pagelines.com/pros/


Please search our forums, before posting!

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


×