Beneath the tab Advanced you can make additional settings for the template font:
Css class nameHere the Css class name for the font is given. The name is by default generated by from the font name but you can state a custom name. This name can be used to refer to in custom made portlets or from html code in the html portlet.
ustom style settingsHere you can add custom decorations for the template font using (CSS).
Used for BODYIf this is the template font used for BODY you choose Yes. There is only one BODY allowed on the website. The body last marked as body will be the active BODY.
Html tag for paragraphsHere you can decide if a paragraph should be written as
Here you decide if a paragraph should be contained in an html tag. Ordinary <p> should be used. Certain template fonts you might think should not be used as paragraphs on the page, then you can use <div> or <span> instead.
OBSERVE! You need to activate Semantic html in text portlet beneath Website settings -> Advanced settings for this functionality.
Used for headingIn order for reading tools to interpret if a certain text is a heading it needs code. In HTML h is used where h1 is the main heading, h2 a sub heading and so on. You can set headings h1-h6. The hierarchic order when using headings is important. Here you decide which heading a certain template font should belong to.
Use as block elementWill make the html tag marked as a block elemen and not as an inline element as is normal in SiteVision.
Primary heading levelHere you decide if a heading should be the primary heading. If you have several h2 headings you need to decide which is the primary one is other systems should use the heading level.
Only one template font on each heading level can be the primary one. The last one checked will be the active primary heading for that h level.
A tip for accessibility! In order to increase accessibility you should create headings with h elements:
The hierarchic order is very important!
- h1 indicates it is the main heading
- h2 that is is a sub heading
- h3 that it is a sub heading to a sub heading and so on.
A tip! In the text and table portlet you can use quick keys to create headings. Since it is possible to have several h1´s the quick key is valid for the template font highest in the template font list.
CTRL + 1 For heading 1
CTRL + 2 For heading 2
CTRL + 3 For heading 3
CTRL + 4 For heading 4
CTRL + 5 For heading 5
CTRL + 6 For heading 6
CTRL + 0 To return to the template font highest in the list (usually text).
Font for new line/new paragraphThis setting does only regard the text portlet. If you press enter you might want to keep the same template font whereas making a new paragraph you might want to change to a new template font for instance text.
Font groupHere you decide if the template font is for text, menus or other portlets.
OBSERVE! This must be marked as Text on the Body template for the portlet Custom view to function properly.