Edit only one element of the generated PDF.

enrb

Member
How should I do to put only one element in bold in the (generated pdf file)?

I tried to modify the template_css.php file present at the path:
components \ com_fabrik \ views \ details \ tmpl \ mycustomtemplate \

inserting this css statement:

div.control-group.fabrikElementContainer.plg-field.fb_el_namelist ___ nameelement_ro {
font-weight: 600;
}

Enabling PDF debugging, it works, but when I go to generate the PDF it doesn't work ...
 
i tried but it doesn't work

the library I am using for the generation of pdf is mpdf, as dompdf does not work.

However, even if I use mpdf how should I put an element in bold?
Is it something you can do?
 
Setting the CSS is definitivly working with domPDF, mpdf and in the PDFdebug screen.

Your CSS is wrong (so no idea what you have set addtionally to get it bold on the debug screen).
Check with your browser console.

Use e.g.
div.plg-field.fb_el_namelist ___ nameelement_ro
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top