Hi,
I want my ‘back to login button’ to follow the same layout as my submit buttons for the login form.
https://the-triangle-club.myshopify.com/account/login
I was wondering how I can do this?
Thank you,
Chichi0114
A user seeks to match the styling of a ‘back to login’ button with their login form submit buttons across two pages on their Shopify store.
Solution Provided:
theme.liquid file, placed above the </head> tag.rich-text__buttons elementsOutcome:
Hi,
I want my ‘back to login button’ to follow the same layout as my submit buttons for the login form.
https://the-triangle-club.myshopify.com/account/login
I was wondering how I can do this?
Thank you,
Chichi0114
Hi @chichi0114
In order to fulfill your request, please follow these steps
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above
{% style %}
{% if page.id == 104620294237 %}
.rich-text__buttons {
background: #DDD2CB;
cursor: pointer;
}
.rich-text__buttons > a {
background: transparent !important;
color: black !important;
}
.rich-text__buttons > a::after {
box-shadow: none !important;
}
.rich-text__buttons:hover {
background: #B0A28B;
}
{% endif %}
{% endstyle %}
Here is the result:
I hope this helps
Best,
Daisy
Hi DaisyVo,
Thank you so much :))
Best,
Chichi0114