+ Start a Discussion
Salesforce 283Salesforce 283 

How to hide page numbers behind the image in Visualforce PDF

Hi Guys,

I created one PDF page and have shown page numbers. But some pages has images, in that page numbers have to hide or behind the image in those pages. 
All pages has header image but i want to hide or behind the images in which pages has images.
AshlekhAshlekh
Hi,

You can use below css, may be this help you.
@page {
                size: letter;
                margin: 25mm;
                @top-center {
                    content: "Sample";
                }
                @bottom-center {
                    content: '';
                    
                }
            }
            .page-break {
                display:block;
                page-break-after:always;
            }
            body {
                font-family: Arial Unicode MS;
            }

-Thanks
Ashlekh Gera