Custom footer content
Posted: Thu Oct 23, 2025 8:33 am
Hi,
I would like to customize the footer as Image 1 using CSS for PDF output. Here's my CSS code, but it seems to be all the info goes into center (Image 2).
I would like to customize the footer as Image 1 using CSS for PDF output. Here's my CSS code, but it seems to be all the info goes into center (Image 2)
Code: Select all
@bottom-left-corner {
content:oxy_xpath('(//*[contains(@class, "bookmap/bookpartno")]/text())[1]') "-" oxy_xpath('(//*[contains(@class, "bookmap/revisionid")]/text())[1]');
font-family: 'Calibri', sans-serif;
font-size: 9pt;
color: silver;
padding-bottom: 20pt;
vertical-align: bottom;
}
@bottom-center {
content: "© " oxy_xpath('(//*[contains(@class, "bookmap/year")]/text())[1]') " Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal. \A All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.";
font-size: 0.5em;
color: silver;
padding-bottom: 40pt;
vertical-align: bottom;
}
@bottom-right-corner {
content: counter(page);
font-family: 'Calibri', sans-serif;
font-size: 9pt;
color: silver;
padding-bottom: 20pt;
}