Why does my account logo disappear on mobile view?

Hello,

When I’m on the desktop view, I can see the account logo, but the account logo disappears in the mobile view. Please advise me on what coding I need to add to fix this issue and how to add it. Thanks! The theme we are using is Expanse.

Store URL:

https://hhscience.com/

@Juny733

Hi,

To show the account icon on mobile, please add the code below to assets/theme.css file.

(Go to Online Store > Actions > Edit code > Assets > Open theme.css file)

@media only screen and (max-width: 768px) {
  a.site-nav__link.site-nav__link--icon.small--hide {
    display: block !important;
  }
}

Hope it helps.

If you resolve the issue, please click “Like” and “Accept solution”.

Please let me know if you still have the issue or have any questions.

Thanks.

2 Likes

Hi @Juny733 plz go to your theme editor and in the “header.liquid” file find the following and remove small–hide

![Screenshot 2022-08-10 234643.png|1498x285](upload://7TV8m6BOas4kTfqgn83KFqtVp5Y.png)

@Juny733

Hi again,

If you know how to do it (to modify the liquid code - very simple & small part), please follow @Ahsan_ANC 's instructions.

If you don’t know what to do, just follow my first reply (add the code to Assets/theme.css file).

Hope it helps.

Thanks.

1 Like

Hi I added the code to the Assets open theme but it was not working.

  1. Go to Online Store-> Theme->Edit code
  2. Asset-> theme.css ->paste the code provided by @DavidEKim at the bottom of the file.
2 Likes

Thank you for the detailed instructions! I appreciate it

Thank you so much! It worked!

hey can u help me bcz rn they removed theme.css theres no filed named that