Skip to main content
chelluvsGod
Inspiring
October 1, 2020
Question

RoboHelp 2019 New UI-Output Header Title Font Size

  • October 1, 2020
  • 17 replies
  • 815 views

Is there a way to change the font size of the header when generating Responsive HTML5?

 

I've looked at the skin but I am unable to find something that changes the font size of the header. 

 

I want to change it because it's wrapping on the output and the second line is squished. 

 

Thank you. 

    This topic has been closed for replies.

    17 replies

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 2, 2020

    In your first screenshot, you've got the line highlighted, but you need to expand it - it's all collapsed down into one line.

    chelluvsGod
    Inspiring
    October 2, 2020

    I understand a bit of what Jeff is saying.

    I did find the the style for the output and it's blank.Provided I''m supposed to be looking at the Element Style.

     

    I went back into RoboHelp and added a new CSS. I don't understand where I define the Header font size on output in the CSS. It appears to me that all the items in the list below have to do with the topics.

     

    I then went to Skins. When I select Layout and click the Add Asset button, what opens is a bunch of pictures, icons and such. They are all .png. I do not understand how I am going to get a skin into the User Assets. (To get the output to use the custom CSS, you have to add it to the RH project's skin via Layout > User Assets.)

    I am by no means a programmer. I guess I need more specific steps to understand what I'm supposed to do.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 2, 2020

    @Amebr suggests starting with your output - at different screen dimensions, highlight a bit of that "Transporation & Warehouse" text, then use the Developer Tools to look at the hunk of HTML that it sits in. That will reveal what style name is being used and the CSS that is being applied. This will change as you re-size your browser window (because the output is responsive, right?). Once you've figured out the style names, you can create your own custom CSS file to "hijack" those definitions. To get the output to use the custom CSS, you have to add it to the RH project's skin via Layout > User Assets.

    chelluvsGod
    Inspiring
    October 2, 2020

    I'm sorry, but I still need help.

    I followed your instructions. First, If I add a new css, I then have to apply every single style to it? 

    In following the rest of your instructions: I went to Output>Responsive HTML5>Output. I clicked the pencil icon at the end of Skin. Clicked on Layout and selected the Add Asset button. This is what displays:

    I do not see anything concerning the Header Font in there. 

    I generated the output and right clicked on the Header and chose Inspect. This is what displays:

    I clicked on the Sources tab and this is waht displays:

    I don't understand what I'm supposed to do with all this HTML.

    Thank you so very much.

    Michele

     

    Community Expert
    October 2, 2020

    You'll need to add a custom css to your skin under Layout > User Assets.

     

    The css file will need to include the styles used to set the header font size for desktop, tablet and mobile screen sizes.

     

    To find the  styles, open the output, right-click on the title text and select Inspect from the right-click menu (instruction for Chrome, but similar for all browsers). The Developer Tools open, with the relevant piece of html code selected. There will be another panel that shows the css that is being applied to that html. (Usually the panel is to the right of the html code). Often the style you want is the one at the top of the panel.

     

    Then you'll need to resize the browser to find the style for tablet and mobile sizes.

     

    What you need to add will depend on the responsive skin you are using.

    chelluvsGod
    Inspiring
    October 1, 2020

    I don't think so. It's the Title on the output, nothing on a topic. 

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 1, 2020

    Wouldn't that all be controlled by the CSS applied to it?