• Resolved lotfreeman

    (@lotfreeman)


    Tell me how to center the cover of the Scratch game, the short code cannot be centered on the site page

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sosidee

    (@sosidee)

    Hello lotfreeman,

    you have to work a little with HTML and CSS.

    A possible way to achieve your goal is this:
    1) Insert the shortcode inside a div HTML tag with the style attribute set to text-align: center;.
    <div style="text-align: center;">[scratch-win game="x"]</div>

    2) Add to the page a CSS to set the property display: inline-block; to the card style.
    If you have one card in the page, then the id attribute of the card div tag is sos_saw_card_0.

    <style>
    div#sos_saw_card_0 {
    	display: inline-block;
    }
    </style>
    Thread Starter lotfreeman

    (@lotfreeman)

    Thanks for the answer

    I managed to align via Gutenberg columns, a much easier way

    You have a very cool plugin, I want it to develop further…

    Plugin Author sosidee

    (@sosidee)

    Yes, feel free to send us hints and suggestions that can improve the plugin, it’s our priority to continue providing top services.
    Please leave us a review: it will only take a minute, but your valuable feedback will help us improve and make a huge difference to our company.
    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help me’ is closed to new replies.