• Resolved nasilyahu

    (@nasilyahu)


    Hello,
    First of all, I want to thank you for this great plugin.
    Actually, I want to align floating share buttons (vertical) relative to content (I mean posts).
    When I click “attach to content” in the floating menu, there is a code snippet like below:
    main, [role=”main”], article, .status-publish .addtoany_content { text-align:left; }

    When I choose it, floating buttons dissappear unfortunately. I don’t want to align them manually.
    Could you please help me to align floating buttons relative to content?
    Thank you,

    Best regards,
    Nasil Yahu (https://nasilyahu.com)

    • This topic was modified 3 years, 2 months ago by nasilyahu.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author micropat

    (@micropat)

    Hello Nasil,

    Look like there’s a whole CSS declaration instead of CSS selector(s) in your “Attach to” box:

    .addtoany_content { text-align:left; }

    The only selector needed for your site is:

    main

    Once that’s set, just set the Offset to -70 pixels from left of content and your floating button should be good to go. ??

    Thread Starter nasilyahu

    (@nasilyahu)

    Thank you @micropat
    I am grateful to you. If I have any more questions, I will write to you.
    Best regards,

    Nasil Yahu

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Floating Vertical – Relative to Content’ is closed to new replies.