• On Twenty-Twenty-Five theme:

    1. Navigation block > Styles > Link style > Hover style: Thick border
    2. Save and test your website

    See? That border is as thin as the regular border: 1px. This was working fine on the 2024 theme, but not on the 2025 theme.

    On Firefox 135.0.1 on localhost on Linux Desktop 24.04.

    P.S.: Sorry, my website is not available yet. ??

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Sébastien Bouchard

    (@sebastjava)

    The problem comes from wp-content/themes/twentytwentyfive/style.css @ lines 21-24:

    a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: .1em;
    }
    Thread Starter Sébastien Bouchard

    (@sebastjava)

    My custom temporary fix was to add the following code as additional CSS in the Twenty-Twenty-Five theme:

    .wp-block-navigation.tw-nav-active-thick-border li.current-menu-item > a, .wp-block-navigation.tw-nav-hover-thick-border li a:hover {text-decoration-thickness:2px !important;}

    That’s just a copy-paste from Twentig’s code with “!important” added at the end.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.