Skip to main content
Known Participant
September 17, 2020
Answered

RH2019 New UI : formatting the default hyperlink style

  • September 17, 2020
  • 4 replies
  • 476 views

I am trying to format the default hyperlink appearance (blue and underlined) so that I dont have to apply our own style to it every time I create a hyperlink.   I was able to do this in RH2019 Classic using the CSS and simply changing the appearance of the built-in hyperlink style.   

 

In the new UI, I dont see a default hyperlink style for regular links.  There are styles for other types of hyperlinks (dropspot, mini-toc, etc).  Is there a way to do this?  

This topic has been closed for replies.
Correct answer Peter Grainge

From something you posted the other day, I wasn't sure how familiar you were with 2019.

 

I thought the hyperlink style was defined in the default css but it seems it is not. All you need to do is go to the CSS editor and right click on Hyperlink Styles, then click New Style. Don't apply a class and "a" will be added. That is the default so colour and define it as required, then new links will be as defined.

 

4 replies

Known Participant
September 17, 2020

That did the trick!  Thanks so much. 

Peter Grainge
Community Expert
Peter GraingeCommunity ExpertCorrect answer
Community Expert
September 17, 2020

From something you posted the other day, I wasn't sure how familiar you were with 2019.

 

I thought the hyperlink style was defined in the default css but it seems it is not. All you need to do is go to the CSS editor and right click on Hyperlink Styles, then click New Style. Don't apply a class and "a" will be added. That is the default so colour and define it as required, then new links will be as defined.

 

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Known Participant
September 17, 2020

hi Peter, I know how to edit the CSS.  I also looked in the RH Re-imagined project - it doesnt have any info about the problem i am trying to resolve (unless I missed it somewhere).   Once I open the default CSS, I dont see a hyperlink style that I can edit to control the appearance of the default hyperlinks.  I can create my own, but then I have to apply it each time a create a hyperlink.   In RH2019 Classic,  there was a default hyperlink style that i could edit.   thx. 

Peter Grainge
Community Expert
Community Expert
September 17, 2020

Double click the css in the Contents panel and it will open in the css editor. 

 

You might find the RoboHelp Reimagined sample project worth a look as it explains most of the features.

 

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.