228
Views
4
Comments
Solved
[Simple Reports With PDF] Can't manipulate font size
Question
simple-reports-with-pdf
Web icon
Forge asset by Huarlem Lima

When using simple reports with PDF. I can't manipulate the font size in the A4 layout. I've tried the Style Sheet editor, using "style" in extended properties, using web blocks that are styled all to no avail.


How can I style the font size? 

2020-03-05 14-29-02
José Costa
Solution

Hi Talis,

The '!important' keyword is spread out in the css of the PrintMenu Web block and thus it does not allow you to change some of the properties of the css (e.g the font-size is an example of that):

To do what you want, you will have to edit the css of the PrintMenu and remove the '!important' from the css. Don't know the implications of removing that keyword from there in the layout of the page and in the layout of the pdf. You have to try it.

Cheers,

José

UserImage.jpg
Digital Developer

José Costa wrote:

Hi Talis,

The '!important' keyword is spread out in the css of the PrintMenu Web block and thus it does not allow you to change some of the properties of the css (e.g the font-size is an example of that):

To do what you want, you will have to edit the css of the PrintMenu and remove the '!important' from the css. Don't know the implications of removing that keyword from there in the layout of the page and in the layout of the pdf. You have to try it.

Cheers,

José

There we have it!!! That solved my issue, thanks. 


2021-02-15 13-40-57
Shashank Diwan

Hi Talis,

Could you please provide the CSS code you are using in the Style.


Shashank... 

2020-03-05 14-29-02
José Costa
Solution

Hi Talis,

The '!important' keyword is spread out in the css of the PrintMenu Web block and thus it does not allow you to change some of the properties of the css (e.g the font-size is an example of that):

To do what you want, you will have to edit the css of the PrintMenu and remove the '!important' from the css. Don't know the implications of removing that keyword from there in the layout of the page and in the layout of the pdf. You have to try it.

Cheers,

José

UserImage.jpg
Digital Developer

José Costa wrote:

Hi Talis,

The '!important' keyword is spread out in the css of the PrintMenu Web block and thus it does not allow you to change some of the properties of the css (e.g the font-size is an example of that):

To do what you want, you will have to edit the css of the PrintMenu and remove the '!important' from the css. Don't know the implications of removing that keyword from there in the layout of the page and in the layout of the pdf. You have to try it.

Cheers,

José

There we have it!!! That solved my issue, thanks. 


UserImage.jpg
Carlos Messias

Digital Developer wrote:

When using simple reports with PDF. I can't manipulate the font size in the A4 layout. I've tried the Style Sheet editor, using "style" in extended properties, using web blocks that are styled all to no avail.


How can I style the font size? 



Sorry, I did not realize it was in the context of an article that has nothing to do with my post

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.