This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Custom CSS class to bold static section break text?


  1. enoto
    Member

    It is possible to bold the text of a section break using custom css? If so what would the code be?

    Posted 9 years ago #
  2. AMurray
    Pro Member

    You can use "inline" css (or simply the HTML <strong> tag for bold text) in the section break box where you type the normal text, something like:

    <strong>The quick brown fox jumped over the lazy dog.</strong>

    You could probably do the same with css in the style sheet, just define your own CSS Class like ".sectionBreak" and then in the section break box the code would be `<p class="sectionBreak">The quick brown fox jumped over the lazy dog
    `

    The CSS would be

    .sectionBreak { font-weight:bold;}

    Posted 9 years ago #
  3. enoto
    Member

    Awesome thanks! Exactly what I was after.

    Posted 9 years ago #

RSS feed for this topic

Reply