Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Bug: On older Pages all the options in “Paragraph” can not be applied.

  • This topic has 1 reply, 2 voices, and was last updated 1 year, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7357
    Avatar photoHarald Krause

    All the options on the “Paragraph” Combo box are disabled when you for example want to highlight something, Those Pages were created in an older Version of Publii.

    The paragraphs are originally “div” blocks.

    There is a Workaround by directly edit <p class=”msg msg–highlight “> in the HTML Editor, but this is annoying…

    Avatar photoBob

    Look into a config.json file ‎⁨(Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨YOUR_THEME) and edit the custom elements by adding an additional selector e.g. div. This way, the paragraph options will also affect DIV elements in the post body.

        "label": "Info",
        "cssClasses": "msg msg--info",
        "selector": "p,div"
        "label": "Highlight",
        "cssClasses": "msg msg--highlight ",
        "selector": "p,div"

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.