Beneath the tab Advanced you can make additional settings for the template font:
Screenshot of the tab advanced


Css class name

Here 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 settings

Here you can add custom decorations for the template font using (CSS).

Used for BODY

If 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 paragraphs

Here you can decide if a paragraph should be written as
  • <p>
  • <div>
  • <span>

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 heading

In 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 element

Will make the html tag marked as a block elemen and not as an inline element as is normal in SiteVision.

Primary heading level

Here 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:
  • 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.
The hierarchic order is very important!
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).

Text portlet

Font for new line/new paragraph

This 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 group

Here 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.

Denna sida publicerades: 2015-05-13

Skriv ut PDF-avsnitt

Hjälpte informationen på den här sidan dig?

Missa inga nya rön, tips och tricks! Prenumerera på insite!

Find us!

SiteVision AB (Headquarter)
Vasagatan 10
702 10 Orebro

Info: +46 19-17 30 30
Support: +46 19-17 30 39

Latest Tweets