• Hi, Can anyone advise how I automatically insert page breaks to my website so I can print each page on A4 paper?

    When I try and print I find only half a picture is on one page and the other half on another page. I use media galleries on my site as I have lots of images in tables. I would have no idea where to add a page break when I have a table of images.

    Hoping someone can help.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    To add a page break you can use the “Page Break” block. By clicking on the “+” icon and then selecting the “Page Break” block Page. You can then choose the “A4” size for the page break.

    Repeat these steps as needed to create multiple pages with tables and images in your WordPress post or page.

    Also, remember that You may need to adjust the size of your table cells or images to fit within the A4 page size, especially if you have a lot of images in your table. You can also try using a plugin, such as “TablePress”, to make it easier to create and manage tables in WordPress.

    You can insert page breaks using CSS. To automatically insert page breaks so that each page prints on an A4 paper, you can use the following CSS:

    @media print {
    .page-break {
    page-break-after: always;
    }
    }

    You can then add a class of page-break to any element you want to have a page break after. For example, if you want to insert a page break after each table in a gallery, you can add the class to the <table> element.

    You can then add a class of page-break to any element you want to have a page break after. For example, if you want to insert a page break after each table in a gallery, you can add the class to the <table> element.

    Thread Starter commsman98

    (@commsman98)

    Thanks for the replies. I’m using the classic editor so don’t have the ‘Page Break’ block. Unless it’s somewhere obvious that I can’t see it?

    I have no idea about CSS as my web page skills are definitely ‘beginner’

    1. Install a plugin: There are many plugins available that allow you to insert page breaks in your WordPress content. Some popular ones include Page Break Block and TinyMCE Advanced.
    2. Insert a page break tag: Once you have installed the plugin, you can insert a page break in your content by using a page break tag. The tag will vary depending on the plugin you have installed, but it usually looks something like <!--nextpage-->.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page Breaks’ is closed to new replies.