How to add collection icon on Menu items on mobile

Solved

How to add collection icon on Menu items on mobile

outdoorarmory
Tourist
31 0 12

Hi, everyone,

 

How do I turn on images of the collections on the mobile layout of the menus?

 

Attached is a picture of the desktop layout with the images of the collections on each sub-menu item line on the left. However, when I check the mobile layout there's no icon. Can anyone point me how to reveal the image of the collection on the mobile layout?

 

Website is: theoutdoorarmory.com

Theme: Xtra

 

Thanks,

Outdoor Armory

Accepted Solution (1)

HHenry
Shopify Partner
33 5 7

This is an accepted solution.

You can  follow the instruction below: 

1. Go to Shopify > Theme > Customize

2. Copy and paste this code on Theme settings > Custom CSS section

 

@media only screen and (max-width: 1000px) {
    #header-outer #nav>ul>li>ul ul li a>.img {
        position: static;
        width: auto !important;
        height: 29px !important;
        margin-top: 0;
    }
    #root #header-outer #nav>ul>li>ul ul li a .img img {
        margin-left: 0;
        display: block;
        transform: none;
        margin-right: 0;
    }
    #header-outer #nav>ul>li>ul ul li a {
        display: flex;
    }
}

Done

If this is helpful, please Like and Accept the solution.

View solution in original post

Replies 2 (2)

suyash1
Shopify Partner
10490 1292 1653

@outdoorarmory  desktop and mobile menus are different, mobile menu do not have any code for any icon

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

HHenry
Shopify Partner
33 5 7

This is an accepted solution.

You can  follow the instruction below: 

1. Go to Shopify > Theme > Customize

2. Copy and paste this code on Theme settings > Custom CSS section

 

@media only screen and (max-width: 1000px) {
    #header-outer #nav>ul>li>ul ul li a>.img {
        position: static;
        width: auto !important;
        height: 29px !important;
        margin-top: 0;
    }
    #root #header-outer #nav>ul>li>ul ul li a .img img {
        margin-left: 0;
        display: block;
        transform: none;
        margin-right: 0;
    }
    #header-outer #nav>ul>li>ul ul li a {
        display: flex;
    }
}

Done

If this is helpful, please Like and Accept the solution.