• Hi!

    I’m wondering if it is possible to style the section titles, depending on their level. Like <h1>, <h2>, <h3>?

    BR
    Stephan

    • This topic was modified 8 years, 3 months ago by Stephan.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello Stephan

    Thanks for writing to us.

    Yes, It is possible. Please send me that URL where Documentor is embedded, I will provide you the CSS for the same.

    Waiting for your response.
    Thank you for your patience.

    Best Regards,
    Sagar.

    Thread Starter Stephan

    (@deb_ugger)

    Hi!

    Here is the link:
    https://iprot.info/cms/handbuch/

    BR
    Stephan

    Hello

    Thanks for your response.

    You can select <h1>, <h2>, <h3> tag of Documenotor only by using following CSS.

    #documentor-1 h1{}
    #documentor-1 h2{}
    #documentor-1 h2{}

    Put your CSS properties into bracket with !important tag. Once your CSS is complete, put it in WordPress dashboard => Documentor => Global Settings => Custom Styles => Put your CSS and Save changes.

    Let me know if it helps.
    Thank you.

    Best Regards,
    Sagar.

    Thread Starter Stephan

    (@deb_ugger)

    Thanks for your reply. This does not help. The reason:

    ALL section titles in the document use <h1> tag. Regardless of their hierarchy. Just inspect the HTML code that is generated by documentor plugin. I haven’t found a way to change that.

    Hello Stephan

    Thanks for your response.

    Yes, in Documentor all section title appears in same tag. You can change formatting of Section title from settings panel of Documentor.

    Best Regards,
    Sagar.

    Thread Starter Stephan

    (@deb_ugger)

    But that means, I can only assign one of the HTML headline tags (either <h1>, or <h2> or <h3>…) to all section titles? This is not what I’m searching for. I need different headings depending on the structure of the document, like:

    <h1>1. Heading</h1>
      <h2>1.1. Heading</h2>
      <h2>1.2. Heading</h2>
         <h3>1.2.1. Heading</h3>
      <h2>1.3. Heading</h2>
    <h1>2. Heading</h1>

    Is that possible?

    BR
    Stephan

    • This reply was modified 8 years, 3 months ago by Stephan.

    Hello Stephan

    Thanks for your response.

    Currently, It is not possible as all section title appears in same tag.

    Best Regards,
    Sagar.

    this is a valid feature to add to pro version, it’s possible to include it on the next version?

    Hello Stephan

    Thanks for your response and valuable suggestions, we will try to add this feature in next version depending on feasibility.

    Best Regards,
    Sagar.

    Thread Starter Stephan

    (@deb_ugger)

    Any news on that topic? Still try to find a solution for that. Can you recommend another plugin instead?

    Has anything happened about this? AT present I get HTML like the following, which is contrary to the intent of the HTML specifications and accessibility guidelines!

    <h3>1. Heading</h3>
    <h3>1.1. Heading</h3>
    <h3>1.2. Heading</h3>
    <h3>1.2.1. Heading</h3>
    <h3>1.3. Heading</h3>
    <h3>2. Heading</h3>

    It makes Documentor a bad choice if you want a valid site.

    Thread Starter Stephan

    (@deb_ugger)

    Based on my experience this plugin is not maintained at all! I would recommend to choose another one.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Styling section titles depending on level’ is closed to new replies.