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

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
1371 375 423

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!


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.


View solution in original post

Replies 8 (8)

niraj_patel
Shopify Partner
2391 516 515

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

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
1371 375 423

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!


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.


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
Excursionist
15 0 5

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 325

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)