Opened 10 years ago

Closed 8 years ago

#5768 closed bug (invalid)

Add ability to create underlined sub-titles within articles.

Reported by: kallisti5 Owned by: haiku-web
Priority: normal Milestone:
Component: Website/CMS Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All


At the moment, there is no way to underline a subtitle in the content... this comes in handy to better define main sections within articles.



#content h1.title, #content h2.title, #content h3.title, #content h4.title {
	border-bottom: 1px solid #EAEAEA;

This bar is lighter then the title bar and allows articles to be broken up visually.

Attachments (1)

title-css.png (85.8 KB ) - added by kallisti5 10 years ago.

Download all attachments as: .zip

Change History (4)

by kallisti5, 10 years ago

Attachment: title-css.png added

comment:1 by kallisti5, 10 years ago

example usage attached.

HTML to produce underlined title in content page after css changes noted was:

<h4 class='title'>Blah</h4>

comment:2 by koki, 10 years ago

This is how the existing headline styles look like:

Since most website articles don't drill down into multiple levels of sections and subsections, this is more than adequate.

In the rare occasion that someone writes a very long article with many sections and subsections, it is better to use hierarchical numbering instead. Overusing bottom borders would look awkward.

comment:3 by kallisti5, 8 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.