Home Forums WoodMart support forum Issue with Mobile Navigation Bar on Chrome & Firefox

Issue with Mobile Navigation Bar on Chrome & Firefox

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #641897

    x7corp
    Participant

    Hi WoodMart Support,

    I’ve noticed an issue with the mobile navigation bar when using Chrome and Firefox on iPhones. When scrolling down, the nav bar moves down and gets hidden behind the iPhone Home indicator.

    I’ve tested this on both an iPhone 13 and an iPhone 16 Pro Max, and the issue persists. Please see the attached images for reference and test it yourself using the Furniture2 demo.

    Let me know if there’s a fix for this.

    Thanks,

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

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content under the message area field so that we can check this concern on your Site and help you out accordingly.

    Best Regards,

    #642040

    x7corp
    Participant

    Hi,

    I have created a staging version of our site and provided a temp link in Private content but I will say this issue is occurs also with your blank demo: https://woodmart.xtemos.com/furniture2/

    I have also spotted a second issue that has started since the last update. The grid I have on the home page is set to 2 columns but stays at 4. I have check settings and doesn’t change. image also attached.

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

    Hello,

    01. I have checked your site and the mobile bottom navbar is showing fine on your site while scrolling down.
    See Screenshot for clarification: https://ibb.co/tTJ5BjzV

    Clear the browser cache/site cache and recheck the issue.

    02. I have created the categories section on your site and set the mobile display to two columns. It is working correctly. Please review your site and verify the update.

    Best Regards,

    #642362

    x7corp
    Participant

    Hi,

    1. The simulator you are using appears to be using Safari, I did say the issue occurs on Chrome and Firefox browsers.

    2. I have already fixed on the main site by creating duplicate copy and using responsive settings. There is an error when you try to set different columns for each device type in one element. e.g. desktop =6 Tablet=3 Mobile=2.

    I am not concerned about point 2 as I have found a workaround, I am just letting you know about the error. I am more concerned about the hidden mob nav bar on the latest Chrome and Firefox browsers on iPhone.

    #642578

    Hello,

    1. To add bottom bar spacing on Chrome try to add the following custom css code in Theme Settings > Custom CSS.

    .wd-toolbar {
        height: calc(55px + env(safe-area-inset-bottom));
    		padding-bottom: env(safe-area-inset-bottom);
    }
    @media (max-width: 1024px) {
        .sticky-toolbar-on {
            padding-bottom: calc(55px + env(safe-area-inset-bottom));
        }
     .sticky-toolbar-on .scrollToTop {
            bottom: calc(67px + env(safe-area-inset-bottom));
        }
    }

    2. The issue with columns will be fixed in the next theme update 8.1.1 which will be released today.

    It’s important to clarify that toolbar spacing is not a bug, and we will not be making any changes to the theme.

    Best Regards,

    #642635

    x7corp
    Participant

    Hi,
    Thanks for this.

    This fixes the issue on Chrome but not Firefox?

    #642854

    Hello,

    Try to add the following code in the function.php of the child theme to fix the issue.

    https://codefile.io/f/0dgJtwxQNk

    Best Regards,

    #643209

    x7corp
    Participant

    Hi I have tested the code and it doesn’t work.

    I want to clarify this is an issue with the theme as the demo/theme should be compatible with Chrome and Firefox browsers on iPhone. I have not tested on Andriod.

    Please see the videos below of your live demo on the latest iPhone with the latest version of browsers:

    Chrome Video: https://1drv.ms/v/c/e701fb6a52f72e79/EWFfxHv9iv1BrQ4bL_qPt9IB7jYfa6MZCURNgQmTOKeudw?e=TFWjO2

    FireFox (demo broken?): https://1drv.ms/v/c/e701fb6a52f72e79/EZsNT_faQEhChyGUTpAj6V8BeYA-COyGOODwWHp-CD7Fgw?e=7367WJ

    Thanks

    • This reply was modified 2 months ago by x7corp.
    #643403

    Bogdan Donovan
    Keymaster

    1. Bottom bar spacing.
    Since both browsers use a floating interface that changes the window height when scrolling up or down, the spacing cannot be set with just a padding-bottom value. Depending on the window position and device, this could cause an opposite effect, creating extra empty space. The only solution in this case is to use a special CSS environment variable called env(safe-area-inset-bottom), which we suggested in a previous response:

    .wd-toolbar {
        height: calc(55px + env(safe-area-inset-bottom));
    		padding-bottom: env(safe-area-inset-bottom);
    }
    @media (max-width: 1024px) {
        .sticky-toolbar-on {
            padding-bottom: calc(55px + env(safe-area-inset-bottom));
        }
     .sticky-toolbar-on .scrollToTop {
            bottom: calc(67px + env(safe-area-inset-bottom));
        }
    }

    However, there is another issue with Firefox Mobile, where env(safe-area-inset-bottom) does not work unless the parameter “viewport-fit=cover” is added to the viewport meta tag, which we also recommended adding in your child theme in our previous response:

    https://codefile.io/f/0dgJtwxQNk

    We checked your staging site and did not find our proposed code in your child theme. After temporarily adding “viewport-fit=cover” to your site, the floating spacing in Firefox started working correctly. Here is a video from a real iPhone device showing the result. (https://monosnap.com/file/1RFwPFARMC8vgrlljejIvyBNF2xjNh)

    Additionally, it is important to note that “viewport-fit=cover” is not a standard viewport meta tag value and is not included in default WordPress themes such as Storefront or Twenty Twenty-Four. This setting can affect the browser window size on mobile interfaces, potentially causing unwanted issues in popular mobile browsers like Chrome and Safari, as well as on Android devices with different notch and sensor configurations.

    Due to this, and the fact that Firefox Mobile users account for only 0.52% (https://gs.statcounter.com/browser-market-share/mobile/worldwide), we unfortunately for now cannot implement this setting in our theme, as it could negatively impact the browsing experience for users of more popular browsers.

    2. Demo site Firefox issue.
    Our demo site supports Chrome and Firefox. We tested our site on an iPhone using both browsers, and in both cases, the site functions correctly. Here is a video showing the results.

    Chrome video: https://monosnap.com/file/tuWldurzKIpwtmvDvCb5nOmhhoMW73
    Firefox video: https://monosnap.com/file/epNHjZEXarpf78KvX7pXkdPte3PEKA

    To resolve the issue, please try clearing your browser cache or opening the site in an incognito tab.

    Kind Regards

    #643452

    x7corp
    Participant

    Hi,

    Yes I understand, it’s better to just fix Chrome and ignore Firefox due to low Mobile usage.

    *But please look at your own video you provided of your demos on Chrome. The Mobile Navigation Bar is hidden behind the iPhone Home Indicator.

    Is this not something you are looking to fix with the theme? iPhone is the most popular mobile device worldwide.

    Thanks

    #643496

    Bogdan Donovan
    Keymaster

    Such a change needs to be tested on a wide range of devices to ensure compatibility with most browsers and browser settings. We are considering adding such functionality in our future updates. We also suggest you leave a feature request here – https://woodmart.canny.io/feature-requests, so our developers can take it into account.

    Kind Regards

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