Skip to main content
Known Participant
March 29, 2023
Question

How to replace the default css file

  • March 29, 2023
  • 2 replies
  • 386 views

Hello,

 

I am using Robohelp 2022 

 

Developer has made some changes in the css and now we want to change the default css and implement the changes made by the developer in the CSS. We also have a seperate font folder that we want to implement.

 

Kindly help how to do the same.

    This topic has been closed for replies.

    2 replies

    Peter Grainge
    Community Expert
    Community Expert
    March 29, 2023

    Do you have the font file installed on your machine? If you open Word or suchlike do you see it listed?

     

    If the answer is No, then follow the link I gave. That explains it.

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Known Participant
    March 29, 2023

    How to change the userstyle.css file?
    Is it template specific?

    Peter Grainge
    Community Expert
    Community Expert
    March 29, 2023

    Probably is the best answer I can give. It contains your customisations and may contain different fields. 

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    March 29, 2023

    With RoboHelp closed, use Explorer and move the existing default.css to a folder outside the project so that you have a backup. Then copy or import the new default.css into the project.

     

    I assume the font folder is something referred to in the CSS. Just copy that into the same folder.

     

    Your developer will be aware that will not put the fonts onto user machines so if they don't have that font, something else will be applied. See Using Font Awesome, Google Fonts, @font-face and SVGs in RoboHelp (grainge.org) to resolve that.

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Known Participant
    March 29, 2023

    Thank you for your reply.

     

    I have the fonts file that I was able to upload with the css but the changes are not reflected when I generate the preset and publish it.