Change image size and font size of menu items

Solved

Change image size and font size of menu items

outdoorarmory
Excursionist
32 0 12

Hi everyone,

 

Website is: theoutdoorarmory.com

Theme is: Xtra

 

Can you please send me a CSS code - that works for both desktop and mobile; and that I can play around with - to change the sizes of the images and the font size of the menu items as encircled below:

 

Screenshot 2025-01-08 184324.png

 

Thanks in advance!

 

Outdoor Armory

Accepted Solution (1)

Asad-Mahmood
Shopify Partner
445 80 91

This is an accepted solution.

Go to your online store -> settings -> custom css and paste this code there

li.ff-primary a {
    font-size: 35px !important;
}
span.img.category img {
    width: 100px !important;
}
If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp
Fiver




View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
7499 2028 2490

Hey @outdoorarmory 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
span.img.category img {
    width: 70px !important;
}
li.ff-primary a {
    font-size: 20px !important;
}
</style>

RESULT:

Moeed_0-1736333423645.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


topnewyork
Astronaut
1368 165 224

Hello, @outdoorarmory 
1) Go to Online Store
2) Edit Code
3) Find theme.css/base.css file
4) Add the following code in the bottom

 

 

li.ff-primary a  {
    font-size: 17px !important;
}
span.img.category img {
    width: 35px !important;
}

 

 

 Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

Asad-Mahmood
Shopify Partner
445 80 91

This is an accepted solution.

Go to your online store -> settings -> custom css and paste this code there

li.ff-primary a {
    font-size: 35px !important;
}
span.img.category img {
    width: 100px !important;
}
If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp
Fiver




outdoorarmory
Excursionist
32 0 12

Hi  @Asad-Mahmood , thanks!