Jump to content

Recommended Posts

Posted
22 minutes ago, Marc said:

Any specific areas? 

The home page of my test site is built only with Pages/blocks.
Earlier this month, the PSI corrected the "CPU throttling factor"

Dec 5, 2024
The CPU throttling factor for PageSpeed Insights has been adjusted to account for the low CPU performance benchmarks typical in PageSpeed Insights production environments. In general, this should result in increased lab data TBT scores for sites on mobile. Field data and desktop scores should not be affected. 

Shortly after that, you activated beta 7 - I shared in the corresponding article about beta 7 - the sharp improvement in all network indicators.

Now, after updating to beta 8 - mobile performance is already severely reduced, (65-75 points) without me having made any changes to my page.

Posted
1 hour ago, opentype said:

Nice customization. Would be a good feature request to set that directly in the Menu Manager. 

Bildschirmfoto2024-12-17um11_13_11.png.209e9a3a2d6f96e6f570e3647fcb48cb.png

It would be better if you told us now how to do it😃

Posted (edited)
10 minutes ago, EliasM said:

It would be better if you told us now how to do it😃

You can use your browser's dev tools to copy my custom CSS from my site. 

Ok I'll make it easy:

li[data-ips-hook="navColumnItem"]:nth-child(6) span:nth-child(2)::after {
    content: "Pro";
    display: inline-block;
    background: #FFB343;
    padding: 2px 5px;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 4px;
    color: black;
    font-weight: bold;
    margin-left: 10px;
	letter-spacing: 0em;
}

li[data-ips-hook="navColumnItem"]:nth-child(5) span:nth-child(2)::after {
    content: "New";
    display: inline-block;
    background: #00cc66;
    padding: 2px 5px;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 4px;
    color: black;
    font-weight: bold;
    margin-left: 10px;
	letter-spacing: 0em;
}

There may be a more elegant selector than li[data-ips-hook="navColumnItem"]:nth-child(), which breaks the relationship if you edit your menu, but this is just something I quickly hacked to see what it would look like. 

Edited by David N.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...