Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author dinamiko

    (@dinamiko)

    Hi andrianiannalisa,

    add this CSS to DK PDF Settings / PDF CSS and click Save Settings:

    body {text-align: justify;}
    p {text-align: justify;}

    about smartphone, can you post here an URL where I can see the problem? thanks.

    Best.

    Thread Starter andrianiannalisa

    (@andrianiannalisayahooit)

    This is the link

    https://www.maggialetti.it/viaggi-di-gruppo-in-bus/prodotto/ville-venete-vicenza-e-modena-2/

    PS i have addes this custom css in PDF CSS but it doesn’t work

    Plugin Author dinamiko

    (@dinamiko)

    Hi andrianiannalisa,

    You need to know which container classes names your theme (and plugins like visual composer) uses, the above code is only for basic containers like <p>. Also as I can see css inline is added to each paragraph: <p style=”text-align: left;”>… maybe you can try adding !important at the end, but I’m not sure if this will work:
    p {text-align: justify !important;}

    for button being showed in smartphone, add this css to your theme css:
    .dkpdf-button-container {float: none;}

    Best.

    Thread Starter andrianiannalisa

    (@andrianiannalisayahooit)

    Hi there,
    I made the justified text, and I solved it ??

    For the button…I added that code (with ! Important ) and now works fine! Thank you very much!!

    Another question…
    if I insert a table with no border, in pdf , I can’t see the table and there are no margin between columns. How can I do?
    I have to set border “1” necessarily??

    Plugin Author dinamiko

    (@dinamiko)

    Hi andrianiannalisa, sorry for the delay,

    by default DK PDF gets some of your theme CSS, as you can see in this example:
    https://wp.dinamiko.com/demos/dkpdf/page-markup-and-formatting/?pdf=1134
    in this case, table CSS styles are from the theme Make I’m using in the demo.
    First see if your theme has CSS styles for tables, if not, add the CSS for tables manually using Settings CSS tab.

    Best.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘justified text’ is closed to new replies.