"Copying" end-user section layout to pyCompactStylesForPDF CSS file

Hello!

I have Inline Grid 70 30 layout. There are two Dynamic layouts inside it. Each Dynamic layout has two items (visible conditionally). It’s really easy to achieve it in Section-based interface.

Now, I would like to see the very same look in PDF I’m generating (pxCreatePDF), where pyCompactStylesForPDF CSS file is being used.

I’ve tried something like:

.layout-content-inline_grid_70_30 {

display: inline-grid

},

but it does not work.

Could You provide me any ideas, examples, suggestions how to achieve UI-like look using CSS in pyCompactStylesForPDF, please?

Thank You in advance!

I’ve also attached a “draft” how it looks on a section.

@DevousF17255543 a good starting point to troubleshoot is looking at our support documents:

Troubleshooting HTML-to-PDF Conversion issues

Adjusting the out-of-the-box PDF compact style sheet

PDF document generation patterns

PD4ML versions and hotfixes