Solved

How can I extend the width of my dropdown menu on the Refresh theme?

Corucent
Tourist
12 0 0

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: 

Corucent_0-1675182175711.png

 

Accepted Solution (1)
PageFly-Kate
Shopify Partner
1089 325 320

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;

}

<>

 

PageFlyKate_0-1675189387656.png

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 8 (8)

techlyser_web
Shopify Partner
1423 268 282

Hello @Corucent 
please share your store URL so i can provide you some solution for this.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Corucent
Tourist
12 0 0

It's corucent.com and the password is Zubair/Abdullah

PageFly-Kate
Shopify Partner
1089 325 320

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;

}

<>

 

PageFlyKate_0-1675189387656.png

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

Corucent
Tourist
12 0 0

How do I find the class? Cntrl+F isn't working. What line is it on?

Corucent
Tourist
12 0 0

@PageFly-Kate What line of code is this on? It didn't work for me.

Fightingfatigue
Tourist
4 0 0

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;Screenshot 2024-02-22 011418.png

ExpertRookie
Shopify Partner
1518 249 314

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.

- Was my reply helpful? Please Like and Accept Solution to let me know!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me on expert.rookie.team@gmail.com regarding any help.
Corucent
Tourist
12 0 0

corucent.com Password (Zubair/Abdullah)