Highlighted

Styles disappearing during generation (RH2020)

New Here ,
Oct 12, 2020

Copy link to clipboard

Copied

Hi again. Today, all I added to a RH project was a masterpage with breadcrumbs. I don't know if this is related, but all of a sudden one of my heading styles—once bold and red—is not displaying as it was before. What is strange is that when I look at a topic with this style in it in Author view and Preview, the heading style renders correctly (bold and red). When I look at the Source view, the right class is being applied. And when I look at the style in the CSS—Heading3NonTOC—it is bold, 13 pt and red (#DE350B):

 

query.PNG

So the CSS is being applied correctly in RH. But when I generate HTML 5, the heading is rendered 12 pt normal and black. 

Adding to the strangemess, when I interrodate the generated HTML, the heading that is 12 pt normal and black is styled with the CSS class that says it should be bold and red:

<p class="Heading3NonTOC">Expanding and collapsing elements</p>

I'm thoroughly lost! Any ideas?

 

Adobe Community Professional
Correct answer by Amebr | Adobe Community Professional

Do you have a stylesheet assigned to the master page and is it different from the one assigned to the topic? If so I believe the master page one will override your topic one.

 

If not then I think the next step is to use the developer tools to see what stylesheet is being applied in the output. That might give some clues. 

Views

24

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

Styles disappearing during generation (RH2020)

New Here ,
Oct 12, 2020

Copy link to clipboard

Copied

Hi again. Today, all I added to a RH project was a masterpage with breadcrumbs. I don't know if this is related, but all of a sudden one of my heading styles—once bold and red—is not displaying as it was before. What is strange is that when I look at a topic with this style in it in Author view and Preview, the heading style renders correctly (bold and red). When I look at the Source view, the right class is being applied. And when I look at the style in the CSS—Heading3NonTOC—it is bold, 13 pt and red (#DE350B):

 

query.PNG

So the CSS is being applied correctly in RH. But when I generate HTML 5, the heading is rendered 12 pt normal and black. 

Adding to the strangemess, when I interrodate the generated HTML, the heading that is 12 pt normal and black is styled with the CSS class that says it should be bold and red:

<p class="Heading3NonTOC">Expanding and collapsing elements</p>

I'm thoroughly lost! Any ideas?

 

Adobe Community Professional
Correct answer by Amebr | Adobe Community Professional

Do you have a stylesheet assigned to the master page and is it different from the one assigned to the topic? If so I believe the master page one will override your topic one.

 

If not then I think the next step is to use the developer tools to see what stylesheet is being applied in the output. That might give some clues. 

Views

25

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
Oct 12, 2020 0
Adobe Community Professional ,
Oct 12, 2020

Copy link to clipboard

Copied

Do you have a stylesheet assigned to the master page and is it different from the one assigned to the topic? If so I believe the master page one will override your topic one.

 

If not then I think the next step is to use the developer tools to see what stylesheet is being applied in the output. That might give some clues. 

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
Reply
Loading...
Oct 12, 2020 0
New Here ,
Oct 12, 2020

Copy link to clipboard

Copied

Yes, I found a stylesheet attached to the master page (though I hadn't actually selected it). Perhaps it was automatically attached because I had modified some of the breadcrumb styles. Anyway, I deleted the reference to a stylesheet and regenerated the project—and my styles came back. Many thanks for your help—ance again.

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
Reply
Loading...
Oct 12, 2020 0