How do I make the text in the center of the window and the button below it?

Top WooCommerce & WordPress Plugins Forums Popup Notices for WooCommerce How do I make the text in the center of the window and the button below it?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #99941
    Simon Karmazin
    Participant

    Hi,

    I have a big request. How do I make the text in the center of the window and the button below it, not the right? The current layout is not ideal for mobile display. Thanks a lot for the reply and have a nice day.

    Simon

    #99942
    Pablo Pacheco
    Participant

    Hi Simon,

    Sorry for the delay.

    Have you tried to center it using the Customizer options? And what button are you referring to? Have you tried to use the close button from the Customizer? There is a Close button from the customizer that could help you. You can find it at “Popup Notices – Internal Close Button“.

    Let me know if you need more help.

    #99943
    Simon Karmazin
    Participant

    Thank you, I mean a button like “add to cart”. Now it’s to the right of the text and I need to place it in the middle below the text.Thank you and have a nice day.

    #99944
    Pablo
    Moderator
    Plugin Support

    Hi,

    This is an approach you could try, but I believe you’d have to customize the button style yourself.

    1 – Enable the option “Messages > Customize Messages

    2 – Create a new message and put this on the Original HTML content:

    [ttt_pnwc_get_message filter="wc_add_to_cart_message_html"]

    3 – Put this on the Modified HTML content:

    {{post_title}} has been added to your cart. <div><a href="{{cart_permalink}}" class="custom-button">View cart</a></div>
    

    4 – Set the text alignment to “Center” on the “Customizer > Popup Notices > General Style

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.