[Simple Reports] Show PageHeader

[Simple Reports] Show PageHeader

  
Forge Component
(21)
Published on 16 Jan by Rafael Fantato
21 votes
Published on 16 Jan by Rafael Fantato

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!!