Skip to main content
  Friday, September 28 2018
  3 Replies
  2.9K Visits
  Subscribe
With reference to ticket 21212456455

I have hard time using multtiple levels of headings. in Summary block.

Current behaviour (at least in my chosen theme) is to have all heading levels included in summary, with gradually increasing indentation.

It would be nice if I could tell for each separate heading level how to render it:

Visibility (e.g. if I only want to include H2 then set H3 and H4 to invisible)
Indentation
Font size
Text color
Text transform (initial caps, all caps)

As a bare minimum, I believe even a separate CSS class for each heading level would do all of the tricks above...

I reckon there are already classes "toc-level-x" but it would be nice to use different classes on different pages. E.g. on this page, H3 should be off, on that page, H3 should be all caps.
A
5 years ago
Hi,

Thanks for contacting us here about this extension.
It would be nice if I could tell for each separate heading level how to render it:

Visibility (e.g. if I only want to include H2 then set H3 and H4 to invisible)
Indentation
Font size
Text color
Text transform (initial caps, all caps)

As a bare minimum, I believe even a separate CSS class for each heading level would do all of the tricks above...

Yes, you can do it. Because each blocks has its Advanced tab on the right panel where you can add your CSS class.

Hope it helps!
Cheers,
S
5 years ago
This is exactly the problem: the class(es) specified on advanced tab appl(ies/y) for the whole block and not configurable by heading level. If I use, say, 5 different styles for H2, 3 styles for H3, and 2 styles for H4, then I would need a total of 10 classes, probably less. With block-granularity class setting and adding the combinations with no class used I would need (5+1)x(3+1)x(2+1) = 72 different classes.
Of course the example is theoretical and you may decide that such an improvement would be marginal in terms of added value.
A
5 years ago
Hi,

Thanks for getting back to me with more information.
We will note that for a future version to come.

Thanks a lot!
Cheers,
  • Page :
  • 1
There are no replies made for this post yet.