I need to change the class page
, which you can see in every report template.
This does what I want:
<div class="page" style="margin-left: 7mm">
...
</div>
The problem is that I need to apply that style each time the class page
is applied, so it would be very useful for me if I was able to modify the class to add my margin-left
. If not, I guess I will have to change every template which has class="page"
inside, which will be awful.
May be you're wondering why I need to add that margin-left
, that's because I have to add a text on the left margin of every page, so I have to add a div in the header. The problem is that if you try to write inside the margin (out of the div class="page"
), this text dissapears due to the left margin of the paperformat. So I set this paperformat margin to 0. After this I had to move the header and the footer 7mm to the right, which was easy. The problem is that I also need to move the content of the report 7mm to the right, and that's why I'm trying to modify the class page
.
If anyone knows how to do that or finds a better solution for my issue, it would be very helpful.