Skip to main content
Inspiring
May 26, 2019
Question

RH2019.0.7 - Can't format or apply UL and OL lists as expected

  • May 26, 2019
  • 1 reply
  • 1066 views

Not sure where I'm going wrong here.

Recently upgraded RH 2017 projects to the new 2019. The 2017 project had css with OL, UL, and LI styles set up. Example CSS is below.

This has copied over to my new 2019 project OK in the CSS. But when applying these styles it is not applying the CSS in the same way in 2019 and as such my styles are not formatted. I've tried to create new styles in RH2019 but there is a li-rad_normal style being applied which just does not exist in my style sheet. But I can't understand why this is being applied at all.

Any ideas?

2017 CSS and 2019 CSS for respective styles. Both exactly the same.

OL {

margin-top: 0px;

margin-bottom: 0px;

}

UL {

margin-top: 0px;

margin-bottom: 0px;

}

li.Number {

font-family: Calibri;

font-size: 11pt;

list-style: decimal;

line-height: Normal;

margin-bottom: 6px;

margin-top: 6px;

}

p.Rad_Normal {

margin-bottom: 0pt;

line-height: Normal;

text-align: justify;

}

li.Bullet {

list-style: disc;

font-family: Calibri;

font-size: 11pt;

}

Example HTML from 2017 project where all I applied was li.Number style to an existing paragraph that has p.Rad_Normal applied.

<ol style="list-style: decimal;">

<li class="Number"><p class="Rad_Normal">Pick Rate updates allow you to change the pick rate...

Example HTML from 2019 project where I Try to do the same thing:

<ol>

    <li class="Rad_Normal">and the invoice date is printed on the actual.

As you see in 2019 I am not getting the LI 'Number class being applied, and instead Rad_Normal is being set as an LI class and no P class to actually format my text.

    This topic has been closed for replies.

    1 reply

    Peter Grainge
    Community Expert
    Community Expert
    May 27, 2019

    Is it the same if you create a new list and then apply another style?

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

    Yes. I'm trying with completely new styles and still getting the same issue. I do not have a li class for rad_normal and it is continuing to create one in my HTML.

    I'm also unable to even format the text of my list in anyway. Changes to OL and LI do nothing.

    Are lists handled differently in the new RH compared to previous versions? Or am I going around creating lists in the wrong sequence?

    I type out my text, apply my P style and any span styles I need then I select the text block and apply my list style. At this point the span stlying is maintained, a numbering is applied but the P style is removed and LI style which is applied has the same name as my P style rather than the LI style I have selected.

    Peter Grainge
    Community Expert
    Community Expert
    May 27, 2019

    Create a new project and using the default.css see if that works in the way you expect.

    If that doesn't help, can you share your project? I can't figure out how that style is getting created so I need to play with something that will do that. You could add one of your topics to the new project and check it does what you have described there. I don't really need the whole project.

    See the Contact page on my site and send the project as instructed there. Do make sure you include a link to this thread and please do not email the project direct.


    See www.grainge.org for free RoboHelp and Authoring information.

    @petergrainge

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