How can I change the font size of certain menu items?

On my drawer menu I would like to have some menu items a smaller font size. For example I would like
About Us
Contact Us
Media Inquiries
Privacy Policy
to be smaller. How can I achieve this?

https://ywwpq9ie6ix0sdvb-85805793561.shopifypreview.com/pages/media-inquiries

Hi @nmn22601

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

a#HeaderDrawer-about-us, a#HeaderDrawer-contact, a#HeaderDrawer-media-inquiries, a#HeaderDrawer-privacy-policy {
    font-size: 16px !important;
}

And save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

What about mobile?

Hi @nmn22601

This is Richard from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


Hope this can help you solve the issue

Best regards,

Richard | PageFly

Hi, I try it on my website is not work i changed the name of title in the code like my menu he doesn’t work.

Can you help me please