• I have a multi-year list of honorees for an annual award. Format:
    2016
    Name #1 etc.
    (line space)
    2015
    Name #1 etc.

    I want to have the names in the text font, but have the year in H6 without a line space between the year and the first name on the list. I want a line space in between each year’s listing. Here’s the problem:

    I am accomplishing the line space in between each listing group by setting each group as a Paragraph. If I correctly understand WP, using Paragraph is the only way I can get this line space:
    <p>YEAR
    Name #1 etc.</p>

    But since the entire group is within <p></p>, I can’t specify one line – YEAR – as H6. If I highlight YEAR and click on H6, the entire group including the names becomes H6.

    I can style YEAR as H6 if I make YEAR a new paragraph, but then I get a line space between YEAR and Name #1, and I don’t want that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Why don’t you try using CSS to remove the bottom margin from the H6 style, in the style.css file? Then you could apply that style to the year, and the paragraph style to the names.

    Cheers
    Tessa

    Thread Starter bamster

    (@bamster)

    I’ll try that, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add heading to a paragraph without a line space between heading and text?’ is closed to new replies.