Issue with Custom Block HTML Redirect Not Working on ERPNext Homepage

Hi everyone,
I’m trying to add a shortcut on the homepage of my ERPNext called “PD” (Products), which should take me to the Item page. I’m adding this using custom block HTML because I want to display an image icon for the shortcut.

However, when I click on the “PD” shortcut, it’s not redirecting me to the Item page. Could anyone help me identify what might be going wrong or suggest what mistake I could be making?

Set URL in the shortcut.

Thank you for the response! I appreciate your help, but I’m having a bit of trouble understanding the solution.


This is how it looks but when I’m trying to click PD it’s not re-directing me to Item.

It’s not easy to develop.

please check the some reference: How to use custom html block - #7 by NCP

: Using Html Block Print User Information On Workspace - #3 by Galaxy_Lab

Share the code, someone will help you.

Thanks!

Below is the code I applied for the shortcut. Could anyone please check and let me know what mistake I made or something I’m missing?

css2
css


html