Hi there - how can I remove the underline in links in text fields in the footer (not menus)? I would like to remove the underlines in the Location section of my footer, while still linking to store pages and telephone numbers. Any help will be appreciated!
Topic summary
Goal: Remove the underline styling from links in the footerās text blocks (e.g., Location), without affecting menu links, while keeping links functional. Store URL was provided.
Proposed solutions:
-
Broad footer rule: Add CSS at the end of theme.css and/or base.css:
.footer__block a { text-decoration: unset !important; background: unset !important; }
Steps given: Online Store ā Themes ā Edit code ā locate theme.css/base.css ā paste and save. -
More targeted rule for text blocks (RTE content): Add CSS in the same CSS file:
.footer__block.footer__blockātext .rte a { background: none !important; }
Rationale: Some themes render āunderlinesā via background styles; removing the background clears the underline. A screenshot showing the result was provided.
Context notes:
- A helper requested the store URL/password if protected; the URL was shared.
- Images were included to illustrate the outcome of the targeted CSS.
Status: No confirmation from the original poster on which solution worked. Discussion remains open.
Can you pleas share you store URL and password if its a password protected so I can help you out
Here you go -
Just follow the steps Below:
- Go to online store ā theme
- select three dots and select code edit
- Search for the file theme.css and base.css
- past that code at the end
.footer__block a {
text-decoration: unset !important;
background: unset !important;
}ā
I hope this solution worked for you!
if Yes Just like this Reply and Mark it as a Solution and to keep me motivated BUY ME A Coffee
Try this one.
- From your Shopify admin dashboard, click on āOnline Storeā and then āThemesā.
- Find the theme that you want to edit and click on āActionsā and then āEdit codeā.
- In the āAssetsā folder, click on ābase.css, style.css or theme.cssā file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.footer__block.footer__block--text .rte a {
background: none !important;
}
- And Save.
- Result:
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Welcome! Would you mind hitting ālikeā as well? Thanks!

