Solved

Remove tracking from header on the mobile site only

Dawenn
Excursionist
25 0 4

Hello, 

I have an issue with my website.

https://tudoconexao.com

 

I want to remove the tracking from header on the mobile site only. I want to leave only the search, account and cart options

 

Captura de tela 2024-03-05 142545.png

Daniel Wendell 鸞
Accepted Solution (1)

namphan
Shopify Partner
205 31 46

This is an accepted solution.

Hi @Dawenn,

Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

@media screen and (max-width: 640px) {
.header__action-list .header__action-item:nth-child(3) {
    display: none;
}
}
Shopify Development Service

View solution in original post

Replies 3 (3)

namphan
Shopify Partner
205 31 46

This is an accepted solution.

Hi @Dawenn,

Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

@media screen and (max-width: 640px) {
.header__action-list .header__action-item:nth-child(3) {
    display: none;
}
}
Shopify Development Service
Dawenn
Excursionist
25 0 4

Worked perfectly! Thank you, you saved me 😁

Daniel Wendell 鸞
namphan
Shopify Partner
205 31 46

Hi @Dawenn,

If you have any further questions, you can contact me.

Happy to help you

Shopify Development Service