screen shot also attached
Topic summary
A user is trying to remove an underline from a WhatsApp order button on their Shopify store and has provided a screenshot showing the issue.
Requested Information:
- Multiple respondents asked for the website URL to provide specific guidance
- One user suggested this should be a simple fix once the site is shared
Proposed Solutions:
Two CSS-based fixes were offered:
- Generic approach: Add CSS targeting the button class/ID:
.whatsapp-button {
display: none !important;
}
- Cart-specific solution: Use Liquid templating to apply CSS only on cart pages:
{% if request.path contains '/cart' %}
<style>
.unique-class {
display: none !important;
}
</style>
{% endif %}
Status: The discussion remains open, awaiting the URL or more specific details about the button’s HTML structure to provide a tailored solution.
@mianzeeshan Could you please share URL here.
This should be a pretty simple fix. Can you share the link to the website please?
Maybe worried sharing url,
here is the code, just replace class or id as required. it can be obtain only through url.
.whatsapp-button {
display: none !important;
}
Hi,
You can try this code:
{% if request.path contains ‘/cart’ %}
.unique-class { display: none !important; }{% endif %}
