RH 2020 New UI - Creating a front cover for PDF output

Participant ,
Aug 24, 2020 Aug 24, 2020

Copy link to clipboard

Copied

I want to create a topic in my RH 2020 project for the front cover of my pdf output. I want the background of front cover to be all one colour. However, when I do this to my topic, there is a margin round the outside that is white, and the background colour does not cover the whole of an A4 page. How do I configure my topic to do this?

TOPICS
New UI

Views

116

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Aug 24, 2020 Aug 24, 2020
Adobe have come back with a solution that you could apply to get a full background colour for the cover page. Add this rule to the CSS that will apply to the cover page.  @page :-ro-nth(1 of bodyPage){   margin: 0cm !important;      background-color: red; }   Red can of course be changed to an RGB or Hex value.  

Likes

Translate

Translate
Adobe Community Professional ,
Aug 24, 2020 Aug 24, 2020

Copy link to clipboard

Copied

Please use the link to insert photos rather than attaching them. It overcomes a bug in this forum.

 

The PDF preset has a margin defined. You can set that to zero but it will apply to all pages and I doubt you want that for the topics.

 

Also I found that whilst that allowed me to set a colour for the body background that did cover the whole area, that colour was then applied to all topics even though they had their own CSS applied. I tried to get round that by using master pages but no joy.

 

I will take that up with Adobe as it seems like a bug.

 

Bear in mind that whilst both PDF and Word outputs can be viewed online, they are intended to be printed so they must have a margin as few printers will print to the edge of the paper.

 

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 24, 2020 Aug 24, 2020

Copy link to clipboard

Copied

Thank you for your help Peter. I see your point about the margins. I think my front cover might need a redesign. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Aug 24, 2020 Aug 24, 2020

Copy link to clipboard

Copied

I have referred the cover page background applying to all pages to Adobe. You should be able to have a coloured background, albeit not the whole page.

 

Another consideration though is using some colour is fine but if anyone prints a page with a whole coloured background you are draining a lot of toner.

 

A coloured margin can look good but then you hit problems with different page sizes. A4 versus Letter.

 

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 24, 2020 Aug 24, 2020

Copy link to clipboard

Copied

Hi again  I did not ask you how you applied that background colour? Did you had a style="backgroundcolour" to your body tag?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Aug 24, 2020 Aug 24, 2020

Copy link to clipboard

Copied

Yes. Background colour in the body tag.

 

I guess another way would be a single cell table with a background that pretty much covers the page.

 

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Aug 24, 2020 Aug 24, 2020

Copy link to clipboard

Copied

Adobe have come back with a solution that you could apply to get a full background colour for the cover page.

 

Add this rule to the CSS that will apply to the cover page. 

 

@page :-ro-nth(1 of bodyPage){

  margin: 0cm !important;   

  background-color: red;

}

 

Red can of course be changed to an RGB or Hex value.

 

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 25, 2020 Aug 25, 2020

Copy link to clipboard

Copied

LATEST

Thank you very much Peter. This worked for me. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation