Shopify themes, liquid, logos, and UX
On my site, I have a dropdown menu, with one item in it. However, this item's name is very long, and it shows on two lines. How can I make the width of the dropdown menu longer, so that the name shows on only one line? I'm using the Refresh theme. Here's an image:
Solved! Go to the solution
This is an accepted solution.
Hi @Corucent
I’m Kate from PageFly - Landing Page Builder, I’d like to suggest this idea:
Step 1: You go Online Store -> theme -> action -> edit code
Step 2: You find the file base.css.
Step 3: You find class .header__submenu .header__menu-item
Step 4: You edit CSS it:
<>
.header__submenu .header__menu-item {
justify-content: space-between;
padding: 0.8rem 2rem;
}
<>
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Unlock the secrets to a record-breaking BFCM with PageFly and Canva
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from the Free plan. Live Chat Support is available 24/7.
Hello @Corucent
please share your store URL so i can provide you some solution for this.
It's corucent.com and the password is Zubair/Abdullah
This is an accepted solution.
Hi @Corucent
I’m Kate from PageFly - Landing Page Builder, I’d like to suggest this idea:
Step 1: You go Online Store -> theme -> action -> edit code
Step 2: You find the file base.css.
Step 3: You find class .header__submenu .header__menu-item
Step 4: You edit CSS it:
<>
.header__submenu .header__menu-item {
justify-content: space-between;
padding: 0.8rem 2rem;
}
<>
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Unlock the secrets to a record-breaking BFCM with PageFly and Canva
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from the Free plan. Live Chat Support is available 24/7.
How do I find the class? Cntrl+F isn't working. What line is it on?
Hi So I was having the same issue and this is the code that I had to use to get it on one line, but the problem is there is no white space on the left hand side now and I dont know how to fix that - Please can you advise.
So Please I need more space on the right hand side and I am also just wondering if there is a way that when you click on the drop down menu, it should be more central under shop, as opposed to all on the right hand side?
Thank you very much
.header__submenu .header__menu-item {
justify-content: space-between;
padding: 0.8rem 0.24rem;
hi @Corucent
Thank you for your question.
Please share your store URL, page URL and also password (if your store has one) so we can help you.
corucent.com Password (Zubair/Abdullah)
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025