Print My Blog (PMB) Pro’s CSS classes are used to give content a special design in your projects.
In WordPress’ Block Editor (Gutenberg), to add a CSS class onto any block,
- Click on a block
- On the righthand “Settings” page, click “Advanced”
- Under “Additional CSS class(es)” add any CSS classes
If you want to add more than one, just separate them with a space.
Always have a page break before this element. Eg. you want a title to always appear at the top of the page.
Always have a page break after this element. Eg. you want an image to always be the last item on the page.
Avoid a page break inside this element. Eg, you might want to use this to keep a paragraph of text all on one page, rather than having it split across two.
Avoid a page break after this element. Similar to
Avoid a page break before this element. Eg, you might want to have a paragraph or image always be on the same page as the paragraph preceding it.
Only shows the element in a PMB quick print or PMB project, not when viewing on the frontend of your website. Eg, you might use this for text or an image that’s unnecessary on the frontend of your website, but helpful in a PDF or other format of project.
Only shows the element on the frontend of your website, not when in a PMB quick print or PMB project. Eg, interactive content like a video or a form probably only makes sense to view on the website, but not in a PDF.
Control whether and how blocks should be removed from the normal content flow.
Prevents this element from snapping, even if your design is set to snap images to the nearest page edge. Eg. if you have an image which must appear directly after a paragraph of text, add “pmb-dont-snap” as a CSS class onto the image. Other images will snap according to your design and its settings.
Makes the element float to the top of the page. Useful if you want an image or a line of text to always appear at the top of the page (but not quite in the top margin).
Makes the element float to the bottom of the page. Useful if you want an image or text to always appear at the bottom of a page (but not quite in the bottom margin).