• Resolved Yogev Ben David

    (@yogev-ben-david)


    Hi’
    Im trying to move the buttons to the Center but i cant do this for some reason.
    I checked previous users posts related to this subject, and i tried to do this by add the code above into the CUSTOM CSS section of your plugin, but it doesnt work too:
    .addtoany_content { text-align:center; }
    .addtoany_share_save_container { text-align:center; }

    How can i fix that?
    Thank you very much!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    When I’m visiting your site the buttons are centred.

    add this line it will be centre : .addtoany_content { text-align:center; }

    Maybe it’s your browser cache. Purge cache in your browser or try another browser.

    • This reply was modified 7 years, 1 month ago by mscgl.
    Plugin Author micropat

    (@micropat)

    Your standard share buttons are already centered in content as suggested.

    To center your horizontal floating bar, change its Placement to “Left docked” and use the Additional CSS code:

    .a2a_floating_style.a2a_default_style {
        left: 50%;
        transform: translateX(-50%);
    }
    Thread Starter Yogev Ben David

    (@yogev-ben-david)

    Oh you right. I meant to the floating buttons.

    Well I used your second code. Its actually moved from the side of the screen, but its still not at center. please take a look here:
    https://redcard.co.il/theo-walcott-leave-arsenal-end-of-an-era/

    Thanks

    Plugin Author micropat

    (@micropat)

    Change the Placement to “Left docked”. You might need the !important declaration as well:

     .a2a_floating_style.a2a_default_style {
        left: 50% !important;
        transform: translateX(-50%);
    }
    Thread Starter Yogev Ben David

    (@yogev-ben-david)

    Done
    Thank you!

    Plugin Author micropat

    (@micropat)

    With version 1.7.28 (released today), you can now simply select “Center docked” for the horizontal floating bar. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cant put the buttons Center’ is closed to new replies.