What's your biggest current challenge? Have your say in Community Polls along the right column.

Change button size for SMS pop up

Solved

Change button size for SMS pop up

ErhatRO
Excursionist
60 1 5

IMG_6694.png

IMG_6693.png

Hello! 
I am hoping to change the size of my “sign up” button to the same of the “enter” button in the pictures below. I would also like the “sign up” button to be centered. This was created using Klaviyo. 

Thank you in advance! 

righteousofficial.com

Right5785*

Accepted Solution (1)
AnneLuo
Shopify Partner
1138 211 235

This is an accepted solution.

Add the code bolow to the same location. It will fix the problems you mentioned above.

<style>
.rte.scroll-trigger.animate--slide-in {
    text-align: center !important;
}
.rte.scroll-trigger.animate--slide-in div {
    width: 100% !important;
}
.rte.scroll-trigger.animate--slide-in div ul{
    text-align: left !important;
}
</style>

Result:

AnneLuo_1-1732762710758.png

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution! Thanks.

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

Replies 8 (8)

AnneLuo
Shopify Partner
1138 211 235

Hi, @ErhatRO 

I can't find the pages above. Can you provide the links of the two pages? So that I can assist you.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

AnneLuo
Shopify Partner
1138 211 235

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag

<style>
.klaviyo_form_trigger {
    color: #b8260d !important;
    box-shadow: none;
    background-color: #fff !important;
    line-height: calc(1 + .2 / var(--font-body-scale));
    max-width: 45rem !important;
    font-size: 1.5rem !important;
    letter-spacing: .1rem;
    padding: 1rem 3rem !important;
}
</style>


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

ErhatRO
Excursionist
60 1 5

@AnneLuo It works thank you! How would I center it?

AnneLuo
Shopify Partner
1138 211 235

I found that the width of this page is very small. Do you want it to be centered based on text or centered on the page

AnneLuo_0-1732760314369.png

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

ErhatRO
Excursionist
60 1 5

@AnneLuo yes I am in the process of fixing that now. Centered based on page though please

AnneLuo
Shopify Partner
1138 211 235

This is an accepted solution.

Add the code bolow to the same location. It will fix the problems you mentioned above.

<style>
.rte.scroll-trigger.animate--slide-in {
    text-align: center !important;
}
.rte.scroll-trigger.animate--slide-in div {
    width: 100% !important;
}
.rte.scroll-trigger.animate--slide-in div ul{
    text-align: left !important;
}
</style>

Result:

AnneLuo_1-1732762710758.png

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution! Thanks.

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

ErhatRO
Excursionist
60 1 5

Perfect! The pages are fixed however now when I click any page from the menu item, it takes me to the product page.