function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aam MAam M 

pdf VF page header footer repeat on all pages

I'm not able to repeat my header and footer in all pages of Quote PDF. As I've to put logo in the header for every page. Can any suggest me the solution?..  IT would be great to see the logo on top left of every page and in top right  some text and footer some text.. Please help me how to achieve this! 
        <style type="text/css" media="print">
            <apex:outputPanel layout="none"  >
                .watermark {
                    background-repeat: no-repeat;
                    background-image: url('{!URLFOR($Resource.draftpdf)}');
                    background-position: center;
                    background-attachment: fixed;
    @page {
        margin-top: 20px; // use whatever values are appropriate
               content: element(header);
               content : element(headerright);
        @bottom-left {
                content : "Lo Ruiz 4470, Renca, Santiago | Chile ";
                //color : #808080; // optional as this can be in your def for content
        <div class="header" style="float:left;width:75%" >

                <div><apex:image value="{!$Resource.PdfLogo}"  alt="Description of image here"/></div>
        <div class="headerright">

                <div dir="rtl"><p style="font-weight: bold"> <br/>Conit<br/> Conveyor belt Group</p></div>

Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Mujahid Ahmed Aamir,

May I suggest you please refer the below link to reference. hope it helps.

Please mark it as best answer if the information is informative.

Rahul Kumar