Skip to main content
Known Participant
August 22, 2024
Question

Help with Adding a Line or Space between Items in TOC in RH2022

  • August 22, 2024
  • 2 replies
  • 495 views

Hi. I am looking for tips on how to add a spacer / line between sections or topics in my toc for frameless output in RH2022. I'm not afraid to get into the code, if that is the solution--I just don't know what the best solution is. I did try adding a horizontal rule in the toc code, but it did nothing. I tried adding an unlinked section with -------------- for the topic title, but it doesn't display at all because the section is empty. I don't want to use a topic because I don't want it interactive. I just want space or a some kind of line between pieces of content in the toc. 

    This topic has been closed for replies.

    2 replies

    Peter Grainge
    Community Expert
    Community Expert
    August 26, 2024

    You can get close by applying a bottom border to the section.

     

     

    That will give this line. I can't see a way to get a partial line. Changing the width to 0.5 and/or changing the colour might help.

     

    ________________________________________________________

    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
    August 26, 2024

    Thanks! I appreciate the help, and that's a great solution, if you want it for every section. But I was looking for a way to do it selectively,  creating chunks of sections, not to do it globally for all of them. I also tried doing it at the toc level, thinking if i had multiple sub-tocs, it would put a line under each toc ... but it just does it for the overall, generated toc. Looks like I'll need to assign different icons if I want to represent a chunk of sections differently.  

    Peter Grainge
    Community Expert
    Community Expert
    August 23, 2024

    You haven't said which skin you are using but I think the others will be the same. Click the padlock to apply a margin below the sections.

     

    ________________________________________________________

    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
    August 23, 2024

    Thanks for the reply, but that doesn't work for what I'm trying to accomplish. I'd like a spacer or a line between different chunks of sections, not between each section (my bad for using the word sections in my description). I also tried creating a toc that contains several tocs, using the margin and padding settings for toc, thinking maybe it would give me space between them, but it only applied it to the main generated toc, not the individual ones it contains. What I'd love to do is have a line like an hr between chunks of toc sections. I may just resort to using different icons to differentiate. 

    Jeff_Coatsworth
    Community Expert
    Community Expert
    August 23, 2024

    Can you mock up a screenshot of what you're trying to accomplish? Because I'm not picturing what you're trying to do at all...