Jump to content

sub menu position issue


StrefaBiznesu

Recommended Posts

On 8/12/2023 at 6:35 AM, StrefaBiznesu said:

I have this problem.  When i enter sub menu it drop down fine.

Category->main

But next Category->main->sub main, drop down to the right, out of page margin.  Isnt visible anymore.

Is there a code, that i can use to change position,  direction of this?

Hi,

You can try adjusting the CSS properties of the submenu to control its positioning.

Use your browser's developer tools to inspect the elements of the submenu. Look for the CSS classes or IDs associated with the submenu and its parent categories.

CSS to be added will be something like:

.submenu {
    position: absolute;
    right: 100%; /* Try using "right" instead of "left" */
    top: 0;
    z-index: 1000; /* Adjust this value if needed */
}

It's a good idea to make these adjustments in a child theme or through custom CSS to prevent them from being overwritten during updates.

let me know If it works!

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...