Home Forums WoodMart support forum Load HTML dropdown with AJAX breaks menu styles

Load HTML dropdown with AJAX breaks menu styles

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #585335

    [email protected]
    Participant

    Hello, I encountered an error on my site when enabling the “Load HTML dropdown with AJAX” option in the menu — it breaks the menu style.

    In the first and second screenshots, you can see what the menu should look like, and in the third and fourth screenshots, you can see what it looks like if you enable “Load HTML dropdown with AJAX”.

    After enabling it (example — screenshot 4), you can immediately notice the loss of the black lower part of the menu (from screenshot 1) and a huge space appearing at the top. Another example: in the second screenshot, you can see what the menu should look like, and in the third (after enabling “Load HTML dropdown with AJAX”), we see how the indents between the categories have disappeared, and you can see that the dimensions of the categories themselves have fallen off. And the manufacturers ‘ formatting at the bottom of the page is completely gone.

    Please tell me what the problem is and how it can be solved? I also leave the link to the site and access to it in the content for moderators and give you permission to enable/disable this item yourself if necessary during your work.

    Attachments:
    You must be logged in to view attached files.
    #585714

    Luke Nielsen
    Keymaster

    Hello,

    I apologize for the delay.

    Okay, I see. As for the plugins, may I disable some 3rd party plugins for testing and enabling the parent theme?

    I await your response.

    Kind Regards

    #585723

    [email protected]
    Participant

    hello, you can switch plugins (only please return them to their original state later) and you don’t need to include the parent theme (at least because then the menu will disappear)

    #586055

    Luke Nielsen
    Keymaster

    Hello,

    Add the code below to the functions.php file of your child theme, clear the cache and check how it works.

    add_filter('woodmart_enqueue_html_dropdowns_inline_style', '__return_true');

    Kind Regards

    #587617

    [email protected]
    Participant

    Hello. Thank you. You can close the ticket. The problem is solved.

    #587619

    Luke Nielsen
    Keymaster

    Hello,

    Thank you for confirming that the issue is resolved. I’m glad that the solution worked for you. If you have any other questions or need further assistance in the future, feel free to reach out.

    Thank you for your cooperation.

    Kind Regards

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Load HTML dropdown with AJAX breaks menu styles’ is closed to new replies.