Adding p style to list item style in the stylesheet?

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
jmatosky
Propeller Head
Posts: 14
Joined: Tue Jun 07, 2016 6:23 am

Adding p style to list item style in the stylesheet?

Post by jmatosky »

Hi All,
I am short on time to figure out how to make this happen so I apologize if this has already been answered on the forums. I looked briefly but didn't find quite what I need. I have recently converted from RoboHelp to Flare and I love it, but there are few things I've yet to figure out :)

The issue I have is this:

When I create a list, I would like to have paragraph blocks inside each list item (often I need to add tables or notes inside my lists and the only way I see to do this is to add the paragraph code). Some of my converted lists from RoboHelp do this automatically which is how I figured out that's what I needed, but when creating new lists in Flare, it does not.

I would like the code to always look like this, without having to do it manually each time. I added the paragraphs manually in this example. Is there a way to make that happen automatically? I would assume I create this by altering the List Item in the stylesheet, but I don't know which property to add or alter. CSS editing is new to me :)
Lists.png
You do not have the required permissions to view the files attached to this post.
Psider
Propellus Maximus
Posts: 902
Joined: Wed Jul 06, 2011 1:32 am

Re: Adding p style to list item style in the stylesheet?

Post by Psider »

I'm not sure if there's a way to force this for all lists created, but you can do it in the interface. From memory, select the list items, right-click and select Make Paragraph Items. (I don't have Flare in front of me at the moment.)

Edit: there definitely isn't a way with css itself.
Paulie
Sr. Propeller Head
Posts: 140
Joined: Sun Mar 01, 2015 3:01 pm

Re: Adding p style to list item style in the stylesheet?

Post by Paulie »

Psider wrote:I'm not sure if there's a way to force this for all lists created, but you can do it in the interface. From memory, select the list items, right-click and select Make Paragraph Items. (I don't have Flare in front of me at the moment.)

Edit: there definitely isn't a way with css itself.
You can also use the CTRL + ; keyboard shortcut to insert the paragraph when the list element has focus.
"In an ideal world, software should be simple, well designed, and completely intuitive to end users. In the real world, good documentation is king."
ChoccieMuffin
Senior Propellus Maximus
Posts: 2650
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Adding p style to list item style in the stylesheet?

Post by ChoccieMuffin »

You don't need EVERY list item to include a p, so I suggest you just use the Ctrl+; keyboard shortcut whenever you do.

If you're finding that your li items with a p look different to a li item without a p, add a complex selector to your stylesheet so that "li p" has the same attributes as "li".
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
jmatosky
Propeller Head
Posts: 14
Joined: Tue Jun 07, 2016 6:23 am

Re: Adding p style to list item style in the stylesheet?

Post by jmatosky »

Thank you so much! These alternatives work! You are right, I won't need it for every list, but I definitely needed a way to insert the P style without my authors going into the code...that would confuse them :)
Post Reply