How To Remove Footer Underline Links When Clicking | Dawn Theme

Solved
dreamtechzone_5
Shopify Partner
107 1 16

Hello Everyone!

I am using Shopify Dawn theme. I am struggling to remove these underlines in the footer. Also, the color will change after clicking on the menu. Please help me. Thank you.

 

https://blue-chic-clothes.myshopify.com/

Password: Admin

Screenshot 2023-10-08 014053.png

Accepted Solution (1)
shreyhweb
Shopify Partner
598 103 108

This is an accepted solution.

@dreamtechzone_5 

 

Hello,

 

You please add the below code above </body> in theme.liquid

 

online store >> edit code >> theme.liquid

 

<style>
.footer-block__details-content .list-menu__item--link{
   text-decoration: none!important;
}
</style>

 

If our solution helpful for you then please like the post and tap on accepted.

 

Thankyou 🙂

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com

View solution in original post

Replies 10 (10)
shreyhweb
Shopify Partner
598 103 108

This is an accepted solution.

@dreamtechzone_5 

 

Hello,

 

You please add the below code above </body> in theme.liquid

 

online store >> edit code >> theme.liquid

 

<style>
.footer-block__details-content .list-menu__item--link{
   text-decoration: none!important;
}
</style>

 

If our solution helpful for you then please like the post and tap on accepted.

 

Thankyou 🙂

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
dreamtechzone_5
Shopify Partner
107 1 16

It worked. Thank you. One more thing After clicking the menu it should turn black.

Drew_K
Shopify Partner
23 5 0

Hello! You mean, it needs to turn black when it's being clicked? Or it should turn black indicating the current corresponding page?

Shopify and web developer
Get a free store review or consultation here: https://drew-k.com
dreamtechzone_5
Shopify Partner
107 1 16

it needs to turn black when it's being clicked?

 

yes

shreyhweb
Shopify Partner
598 103 108

Sure, but please let us know, clicking on text or hovering?

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
dreamtechzone_5
Shopify Partner
107 1 16

When I click on contact us it will be black.

 

Screenshot (59).png

shreyhweb
Shopify Partner
598 103 108

ok we will give you the code for fix it

 

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
shreyhweb
Shopify Partner
598 103 108

Please replace the whole code which is given by us with the below code.

<style>
.footer-block__details-content .list-menu__item--link{
   text-decoration: none!important;
   color: #fff!important;
}
.footer-block__details-content .list-menu__item--link:focus {
    color: #fff!important;
}
</style>
- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
Made4uo-Ribe
Shopify Partner
4094 941 1147

Hi @dreamtechzone_5 

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 "section-footer.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__details-content .list-menu__item--link:hover {
    color: white !important;
    text-decoration: none;
    text-underline-offset: 0rem;
  }

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696709215204.png
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


dreamtechzone_5
Shopify Partner
107 1 16

I have pasted the code. But it's not working.

 

Screenshot 2023-10-08 024552.png

 

Result

 

Screenshot 2023-10-08 024305.png