Home › Forums › Popup Notices for WooCommerce › How do I make the text in the center of the window and the button below it?
- Support forum for the Popup Notices for WooCommerce.
- This topic has 3 replies, 3 voices, and was last updated 1 year, 3 months ago by
Pablo.
- AuthorPosts
- February 1, 2022 at 3:06 pm #99941
Simon Karmazin
ParticipantHi,
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
February 3, 2022 at 10:39 pm #99942Pablo Pacheco
ParticipantHi 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.
February 4, 2022 at 8:56 am #99943Simon Karmazin
ParticipantThank 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.
February 18, 2022 at 1:09 am #99944Hi,
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“
- AuthorPosts
- You must be logged in to reply to this topic.