Oziris
April 11, 2020, 3:29pm
1
Hi
This is a modest suggestion. Sometimes itâs not clear we can click/or not to the header of a pages
field. Iâm mixing pages
type with pagesdisplay
inside my site.yml file, sometimes the header is clickable, sometimes not.
I would suggest to set a simple icon after the link, for example, the parent icon could suit.
You could set an icon after the headline yourself?
The headline only becomes a link if the headline links to the parent page of the listed childrenâŚ
Oziris
April 11, 2020, 4:14pm
3
Yes I did it by adding this css to a custom panel css file :
.k-headline .k-link:after{content:'';width:1em;height:1em;display:inline-block;margin-left:7px;background-image: url(data:image/svg+xml;base64,CjxzdmcgYXJpYS1oaWRkZW49InRydWUiIGNsYXNzPSJrLWljb25zIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIG92ZXJmbG93PSJoaWRkZW4iPgoKICAgICAgPHBhdGggZD0iTTE0LDZIMy40bDQtNEw2LDAuNkwwLjMsNi4zYy0wLjQsMC40LTAuNCwxLDAsMS40TDYsMTMuNEw3LjQsMTJsLTQtNEgxM3Y3aDJWN0MxNSw2LjQsMTQuNiw2LDE0LDZ6IiAvPgoKPC9zdmc+);}
Just tought it could be implemented by default. But maybe itâs just me
If youâd like to see this, youâd better add it to the ideasâ repo. Here it will probably get lost.
BTW. If you donât need a special icon, you can simply use an emoji in the blueprint after the headline
headline: Photography âŞď¸
1 Like
Oziris
April 11, 2020, 4:27pm
5
Haha this is even smarter ! Didnât think about that !
âľ is not interpreted as emoji, that will be my last word
Thank you Sonja !