Leto mobile view, account link disappears

Hi, I have customised Leto (with child) theme at https://staging.shopisles.com but I have noticed that the account link I put in the (custom) top-bar (next to cart) disappears in mobile view. Does anyone know why this might be . Customised files are header-functions.php and header.php so it is probably due to that, can anyone tell from html (chrome dev tools?) view

Hi,

The account/login link not displayed because you enable this CSS code:

@media (max-width: 992px) {
  .nav-link-right .nav-link-account {
    display: none;
  }
}

Please remove it.

After you remove the CSS code in above, You will have another issue on the top bar, it’s the search form (mobile screen only). And to fix it, please add CSS code below:

@media (max-width: 425px){
  .dgwt-wcas-search-wrapp {
    position: absolute !important;
    max-width: 80% !important;
    top: 85px;
    z-index: 9999;
    left: 60px;
  }
}

Also, pleae replace your CSS below:

.nav-link-cart, .nav-link-account {
    min-width: 100px;
}

with this:

.nav-link-cart, .nav-link-account {
    min-width: 55px;
}
1 Like