[Simple Reports] Show PageHeader

Forge Component
(25)
Published on 6 Mar (3 weeks ago) by Marcos Galigarcia
25 votes
Published on 6 Mar (3 weeks ago) by Marcos Galigarcia

Hi everyone...

Just wanted to know, how to show PageHeader only in the first page. Nice component by the way...

Thank you all

Solution

Hi Eliclenio,

You can do that by editing the CSS of the component.

Insert this at the end of the CSS of "SimpleReports" theme:

.Page:not(:first-child) > .PageHeader{
    display: none;
}

.Page:not(:first-child) > .MainPageContent{
    top: 2cm;
}

The first part will remove the header in all pages except the first.

The second part does some adjustment to the top of all pages, except the first, raising the content a little.

See if that works for you.

Cheers,

José

Solution

José Costa wrote:

Hi Eliclenio,

You can do that by editing the CSS of the component.

Insert this at the end of the CSS of "SimpleReports" theme:

.Page:not(:first-child) > .PageHeader{
    display: none;
}

.Page:not(:first-child) > .MainPageContent{
    top: 2cm;
}

The first part will remove the header in all pages except the first.

The second part does some adjustment to the top of all pages, except the first, raising the content a little.

See if that works for you.

Cheers,

José

Thank you mate !

Works fine...

Cheers!!