Issue with the UKBF site

James (iimttd)

Free Member
Sep 13, 2021
22
4
I'm having an issue with the UKBF where you need to scroll quite a bit to get the sticky header to do its things and allow to scroll:

For whoever needs it:
Chrome Version 98.0.4758.109 (Official Build) (x86_64)
MacOS 11.6
 

Ozzy

Founder of UKBF
UKBF Staff
  • Feb 9, 2003
    8,322
    11
    3,440
    Northampton, UK
    bdgroup.co.uk
    • Like
    Reactions: Ethan39
    Upvote 0

    James (iimttd)

    Free Member
    Sep 13, 2021
    22
    4
    ok so here is the original:

    then, locally i removed all JS and plumbed in some css/js to 'debounce' the scrolling. This is more of a test, so not producion ready by any means but:
    $(function() { var header = $(".p-navSticky"); $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 1) { header.addClass("is-sticky"); console.log("yes"); } else { setTimeout(function() { header.removeClass("is-sticky"); }, 100); //header.removeClass("is-sticky"); } }); });

    helps:
     
    Upvote 0

    James (iimttd)

    Free Member
    Sep 13, 2021
    22
    4
    Dude, what you got running? ?
    Why the site so broken on your browser, logo and menu icons and breadcrumbs all broken.

    Either way one of site devs will take a look.
    The latter is me running the site with all javascript removed for testing, which means the icons, etc. wont render. The main issue looks like the offset gets messy at the moment, so I made it that the scroll down initiates the sticky header but only allows it back to the initial after 100ms, effectively debouncing the css.
     
    • Like
    Reactions: Ozzy
    Upvote 0

    fisicx

    Moderator
    Sep 12, 2006
    46,685
    8
    15,381
    Aldershot
    www.aerin.co.uk
    I've just tested the site on Firefox, Chrome, Edge, Safari and Brave and can't replicate the issue. It's all working as it should for me on Mac, PC, iPad and Android phone.
     
    Upvote 0
    S

    SEODEV#338055

    I'm having an issue with the UKBF site

    You get asked to create tags but you can't create tags unless you pay for them

    This defeats the purpose of being asked to create tags

    It also negatively affects the SEO of the forum

    But what do I know?
     
    Upvote 0

    Latest Articles

    Join UK Business Forums for free business advice