Skip to main content
Inspiring
December 7, 2021
Question

How can I get custom page margins for the back cover page?

  • December 7, 2021
  • 1 reply
  • 87 views

I would like to design a back cover page with a different page margin than the content pages. I already succeeded creating a front cover page with custom margins by putting following code in the CSS:

@4025150 :-ro-nth(1 of bodyPage){
  margin-left: -0.53cm !important;
  margin-right: 0cm !important;
  margin-top: 0cm !important;
  margin-bottom: 0cm !important;
}

How can I do this for the back cover page? It now has the page margins that are defined in the PDF output settings under Layout.

    This topic has been closed for replies.

    1 reply

    Peter Grainge
    Community Expert
    Community Expert
    December 7, 2021

    From memory you are using 2020? Please include that in any new thread.

     

    You can apply different master pages to different parts of the PDF. Try something similar to the above in the CSS linked to that master page.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.