In your Custom CSS,\u00a0PDF version, add the following to define your page margins. For instance, if you want to make your top and bottom margins 2in, and your side margins 1.5in, you would add the following code:<\/p>\n
\n
\n@page {\n margin-top: 2in !important;\n margin-bottom: 2in !important;\n margin-left: 1.5in !important;\n margin-right: 1.5in !important; \n}<\/code><\/pre>\n<\/div>\nNOTE: the !important<\/code> is … important. It makes sure your settings override what Pressbooks sets as page size.<\/p>\nChanging Margins (Left & Right Pages are Different)<\/h2>\n
You may want your left and right pages (recto\/verso) to have different margins, so that for instance the outside margins<\/strong> are wide, and the inside margins<\/strong> are tighter. In this case you would add the following:<\/p>\n\n
\n@page:left {\n margin-top: 2in !important;\n margin-bottom: 2in !important;\n margin-left: 3.5in !important;\n margin-right: 1.5in !important; \n}\n\n@page:right {\n margin-top: 2in !important;\n margin-bottom: 2in !important;\n margin-left: 1.5in !important;\n margin-right: 3.5in !important; \n}\n\n<\/code><\/pre>\n<\/div>\nNOTE: We have recently introduced a new method for setting custom margins\u00a0in select themes. For more, see our
guide chapter<\/a> on the changes.<\/div>\n","protected":false},"author":1,"menu_order":11,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":"cc-by"},"chapter-type":[],"contributor":[],"license":[50],"part":208,"_links":{"self":[{"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/pressbooks\/v2\/chapters\/236"}],"collection":[{"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/pressbooks\/v2\/chapters\/236\/revisions"}],"predecessor-version":[{"id":237,"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/pressbooks\/v2\/chapters\/236\/revisions\/237"}],"part":[{"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/pressbooks\/v2\/parts\/208"}],"metadata":[{"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/pressbooks\/v2\/chapters\/236\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/wp\/v2\/media?parent=236"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/pressbooks\/v2\/chapter-type?post=236"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/wp\/v2\/contributor?post=236"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pb.malartu.org\/pbuserguide\/wp-json\/wp\/v2\/license?post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}