Artigos sobre: CRM

Como inserir cabeçalho e rodapé em textos padrões?

Neste artigo, você aprenderá a inserir cabeçalho e rodapé em textos padrões, diretamente pelo Imobzi.



No video abaixo você terá acesso ao passo a passo que mostra como inserir um cabeçalho (logo) e rodapé nos textos padrões da Imobzi:




Copie e cole o código mencionado no vídeo:

<table>
    <thead>
        <tr>
            <td>
                <div class="header-space">&nbsp;<br></div>
                <br></td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                <div class="content">
                    Texto do documento aqui
                </div>
            </td>
        </tr>
    </tbody>
    <tfoot>
        <tr>
            <td>
                <div class="footer-space">&nbsp;<br></div>
                <br></td>
        </tr>
    </tfoot>
</table>
<div class="header">
    <img style="width: 150px;" src="">
</div>
<div class="footer">
    <table style="width:100%; ">
        <tbody style="text-align: left; font-family:'Roboto', sans-serif; font-size:11px">
            <tr>
                <th>
                    <ul style="list-style-type:none;">
                        <li>{{real_estate.company_name}}</li>
                        <li>{{real_estate.address}} {{real_estate.address_complement}}</li>
                        <li>{{real_estate.neighborhood}}</li>
                        <li>{{real_estate.zip_code}} - {{real_estate.city}} -&nbsp;{{real_estate.state}}</li>
                    </ul>
                </th>
                <th>
                    <ul style="list-style-type:none;">
                        <li>CONTATO</li>
                        <li>Telefone : {{real_estate.phone}}</li>
                        <li>E-mail : {{real_estate.email}}</li>
                        <li>Site: {{real_estate.site}}</li>
                    </ul>
                </th>
            </tr>
        </tbody>
    </table>
</div>
<style>
    .header,
    .footer {
      height: 100px;
    }
    @media print {
        .header {
          position: fixed;
          top: 12px;
        }
        .footer {
          position: fixed;
          bottom: 0;
        }
    }
    .header-space {
        height: 30px;
    }
    .footer-space {
        height: 80px;
    }
</style>


Caso prefira, baixe o arquivo com o código acima clicando aqui.

Se ainda tiver dúvidas, não hesite em contatar o nosso time de Suporte, para que possamos ajudá-los da melhor forma possível Como falar com o Suporte?

Atualizado em: 24/02/2023

Este artigo foi útil?

Compartilhe seu feedback

Cancelar

Obrigado!