Home Forums WoodMart support forum Sub menu display issue

Sub menu display issue

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

    sunwack
    Participant

    Hi,

    1. When I set the site width to 1500px and the style rounding to 12px, the Shop sub menu right bottom corner is not 12px rounding.
    2. When I change the site dimensions, for example, 1280px X 800px, the Shop sub menu range is not responsive, both sides exceed the width of the Header, and the upper and lower corners on the right are not 12px rounded.

    How can I solve this?

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    01. The issue is caused by the image container in the HTML Block. To fix it, go to HTML Blocks > Edit the HTML Block > Edit the Container, and adjust the right margin accordingly.

    See Screenshot for clarification: https://ibb.co/WvHyJhkD

    02. For the sub-menu width, Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS. change the value as per your requirements.

    @media (max-width: 1280px) {
        .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp {
            position: absolute !important;
            width: 100% !important;
            left: 0 !important;
            right: 0 !important;
            text-align: center;
        }

    Best Regards,

    #641859

    sunwack
    Participant

    Hi, Aizaz!

    Thank you for your reply.

    Regarding the second issue, maybe I didn’t express it clearly enough. I want the two sides of the drop-down menu to not exceed the header at different computer resolutions, and both sides should be flush with the header.

    Best Regards,

    #641937

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    I have tested the CSS on a 1280px screen size, and it works as expected. You can use the following CSS to ensure that the drop-down menu stays within the header boundaries and aligns properly at different resolutions:

    @media (max-width: 1280px) {
        .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp {
            position: absolute !important;
            width: 95% !important;
            left: 30px !important;
            right: 0px !important;
            text-align: center;
        }

    For other screen sizes, you can adjust the width and positioning as needed. Let me know if you need further modifications!

    Best Regards,

    #642046

    sunwack
    Participant

    Thank you!

    #642191

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You’re very welcome! I’m glad I could help. If you need anything else, feel free to reach out!

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards,

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

The topic ‘Sub menu display issue’ is closed to new replies.