ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Margin Settings in the Pdf

I want to change the margin in the pdf.
According to this documentation:
https://docs.erpnext.com/docs/user/manual/en/setting-up/print/print-style
One can change using CSS , but I don’t know what changes I will do according to the bootstrap ( version-3) framework.
Please help me.

.print-format * {
	color: #000 !important;
}

.print-format .alert {
	background-color: inherit;
	border: 1px dashed #333;
}

.print-format .table-bordered,
.print-format .table-bordered > thead > tr > th,
.print-format .table-bordered > tbody > tr > th,
.print-format .table-bordered > tfoot > tr > th,
.print-format .table-bordered > thead > tr > td,
.print-format .table-bordered > tbody > tr > td,
.print-format .table-bordered > tfoot > tr > td {
	border: 1px solid #333;
}

.print-format hr {
	border-top: 1px solid #333;
}

.print-heading {
	border-bottom: 2px solid #333;
}

Thankyou

Hi!

You should give a look at the following threads:

Hope that’ll help!

1 Like

Thank you, It helped me.