Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, please read the following documentation. Let me know if you need more help.

    Thank you

    Thread Starter jumborex

    (@jumborex)

    Yes thank you: I’m starting exactly from that document. I added to the CSS the following:

    .sdm_download_link{
        text-align: center;
    }

    but the result is null: https://www.nuove-vie.it/unambigua-utopia/
    Any new idea?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, your theme is kind of stopping the center alignment. Can you try the following add the shortcode in between div tags.
    For example:

    <div style=”text-align:center”>shortcode</div>

    If the above does not work can you create a new post and add the above code but don’t publish the post. This is simply to test if it is the page or post you are currently having issues with that is causing this problem.

    Thread Starter jumborex

    (@jumborex)

    create a new post and add the above code but don’t publish the post.

    Mmm! Cannot understand exactly what you are asking. I made this already, of course. I tried it on posts and pages.
    When seen via the WP editor the shortcode appears to be centered, but this because a shortcode is Text! While the <div> doesn’t work at all.
    Do you think that the culprit is the theme? And how can this be?
    https://www.nuove-vie.it/soldatessa/
    This is a new link, published today.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    The theme could be the culprit. Can you test one of WordPress default themes like Twenty Fifteen.

    Thread Starter jumborex

    (@jumborex)

    I had some trouble to obtain what you’re asking for, but in the end I obtained this page in Twenty-Sixteen style:
    https://www.nuove-vie.it/backup/3755-2/
    Around the double shortcode, the fancy=”2″ block, and the download counter I’ve set the centered <div>.

    <div style="text-align: center;">[sdm_download id="xxxx" fancy="2" new_window="1"]</div>
    <div style="text-align: center;">[sdm_download_counter id="xxxx"]</div>

    You can see that the download image and button is not center aligned, while the download counter is.
    So (apparently) the theme is not the culprit.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for providing more information. The plugin developers will investigate further your issue.

    Plugin Author mra13

    (@mra13)

    Fancy 2 can’t be centered using that trick because it was designed for a grid display. So it uses some float elements. It will required a lot of customization to the fancy 2 template to what you want.

    Thread Starter jumborex

    (@jumborex)

    will required a lot of customization to the fancy 2 template to what you want.

    Ah, well: this means what? Too much work? Impossible to do it?
    What exactly?

    Plugin Author mra13

    (@mra13)

    It wasn’t designed to be used in the way you are trying to use it. You are free to modify whatever you want to make your customization. I just don’t know how to achieve what you asked for.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Alignement’ is closed to new replies.