Developer forum

Forum » CMS - Standard features » pidlink gives a line space in template

pidlink gives a line space in template

Per Søgaard
Reply
pidlink gives a unwanted line space in our templates which we cannot suppress with css.
Removing the pidlink in the DW settings also removes the option to link to a paragraph and is therefor not an option.

How can we get rid of the line space?

Replies

 
David Matheson
Reply
Hi Per,
If you remove the pidlink functionality in the Management Center and add
<a name="<!--@ParagraphID-->"></a>
to your Paragraphs I believe you can link to individual paragraphs using the internal link functionality in the editor.
 
 
Mateus Ávila Isidoro
Reply
You can remove using jquery.

$(document).ready(function(){
    $('a.pidlink').remove();
});


 

You must be logged in to post in the forum