cancel
Showing results for 
Search instead for 
Did you mean: 

Categories appears in second line

Categories appears in second line

Hi Support Team,

 

I am experiencing an issue with the categories on my Magento 2.4.6 website. In the desktop view, the categories are appearing on a second line and are not clickable. However, everything works as expected on mobile.

 

Since I don’t have programming expertise, could you please guide me on any settings or adjustments I can make through the dashboard to resolve this?

 

Thank you in advance for your assistance.

 

4 REPLIES 4

Re: Categories appears in second line

Post a URL of your store so we can see what's going on please.

Founder at https://agency418.com

Re: Categories appears in second line

Re: Categories appears in second line

You are using Smartwave's Porto theme. All of the settings related to that menu are located in Stores > Configuration > SW Extensions > Mega Menu

 

By default it shouldn't look like that so you probably have some custom code breaking it. If that is the case you can't fix it yourself, you need a developer.

Founder at https://agency418.com

Re: Categories appears in second line

Hello @kmuali2604f488

 

It sounds like this could be related to your theme's CSS or the configuration of the category menu.

 

Go to Content > Design > Configuration.

 

Select the theme you’re using for the Desktop view.

 

Check if there are any specific layout or header settings for category display. Some themes allow you to adjust category display, such as column width or menu style, which may fix alignment issues.

 

Since you're using the Smartwave Porto theme, you can adjust your category menu settings directly in the Mega Menu settings. Here’s how to check and adjust those:

 

  1. Go to Stores > Configuration > SW Extensions > Mega Menu in your Magento admin panel.

  2. Check the Layout Settings:
    • Look for options like Menu Width or Category Display. Ensure that the menu layout isn’t set to a narrow width, which could force categories onto a second line.

  3. Adjust Columns and Responsiveness:
    • The Porto theme’s Mega Menu settings may include options for number of columns or responsive settings for the menu. Try increasing the number of columns or adjusting the menu width to see if it brings the categories back into a single line on the desktop.

  4. Save and Clear Cache:
    • After making adjustments, save the settings and go to System > Cache Management to Flush Magento Cache.

 

If the issue is resolved, click Kudos and accept it as a solution.