• Hello, I am trying to insert the sociable plugins in a determined place on the template, i want the buttons aligned to right under the portfolio picture, as you can see here: https://www.nsilvaportfolio.com/Neon/

    I am using the code:

    <?php if (function_exists(‘sociable_html’)) {
    echo sociable_html();
    } ?>

    to call the buttons, but how can i style this code in order to align the buttons just like the “comments” buttons are aligned?

    Thank you in advance.

Viewing 1 replies (of 1 total)
  • Sorry, I can’t see any ‘comments’ buttons. In general, you need to enclose the content in its own div and apply styling to it, something like this:

    <?php if (function_exists('sociable_html')) {
    echo '<div class="sociable-buttons"> . sociable_html() . '</div>';
    } ?>
Viewing 1 replies (of 1 total)
  • The topic ‘How to style a call funtion?’ is closed to new replies.