You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#112013 Joomshaper Pagebuild and JCE pro - need PDF icon for links with PDfs

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Thursday, 13 October 2022 12:30 BST

pgypps
I have added a PDF link which ends in .pdf and just want a PDF icon to appear next to the link

have done this JCE Editor > Edit Profile > Plugin Parameters > File Manager > Icon option > active

have added code to custom code in helix template >
a[href$=".pdf"]::before {
content: "";
display: inline-block;
background: url('media/jce/icons/pdf.png') no-repeat center;
padding: 8px 12px 8px;
vertical-align: middle;}

the only other place seems to be plugin paramaters > Link > i then have no idea where or what to put...

Ryan
I have added a PDF link which ends in .pdf and just want a PDF icon to appear next to the link


Please post a link to an example.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan
have added code to custom code in helix template >
a[href$=".pdf"]::before {
content: "";
display: inline-block;
background: url('media/jce/icons/pdf.png') no-repeat center;
padding: 8px 12px 8px;
vertical-align: middle;}


This code is fine, but it's not showing up in your template styles in the front-end. It looks like your custom css file is not rendered.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.