{"id":2117,"date":"2020-05-22T22:03:03","date_gmt":"2020-05-22T22:03:03","guid":{"rendered":"https:\/\/the7kennisbank.nl\/?p=2117"},"modified":"2020-05-22T22:40:23","modified_gmt":"2020-05-22T22:40:23","slug":"typography-shortcodes","status":"publish","type":"post","link":"https:\/\/the7kennisbank.nl\/en\/user-guide\/typography-shortcodes\/","title":{"rendered":"Typography Shortcodes"},"content":{"rendered":"

<\/head><\/p>\n

The7\u00a0typography shortcodes are available in a standard WYSIWYG editor and, in result, in WPBakery Page Builder \u201cText Block\u201d.<\/p>\n

Before getting started, please make sure that you\u2019re accustomed with idea of shortcodes in WordPress:\u00a0http:\/\/en.support.wordpress.com\/shortcodes\/<\/a>
Note that link above is given only for the quick illustration of what shortcodes are. Not all shortcodes described in it will work in your theme.\u00a0<\/em><\/p>\n

Apart from visual elements\/shortcodes in WPBakery Page Builder in The7\u00a0we are also utilizing conventional text-based shortcodes which are listed in a dropdown when clicking on \u201cShortcodes\u201d in your WYSIWYG Editor or Text Block (fig. 1).<\/p>\n

\"Fig.<\/a><\/p>\n

Fig. 1. Text shortcodes by Dream-Theme.<\/p>\n<\/div>\n

Gap<\/h3>\n
<\/div>\n

Gap shortcode works the same as \u201cEmpty Space\u201d elements \u2013 it adds a gap between paragraphs and other elements. It has the only option \u2013 height, where \u201c10\u201d stands for 10px.<\/p>\n

Divider<\/h3>\n
<\/div>\n

Divider shortcode inserts a horizontal divider line between elements. It can be thin or thick, depending on what you specify under \u201cstyle\u201d option.<\/p>\n

\"Fig.<\/a><\/p>\n

Fig. 2. Divider.<\/p>\n<\/div>\n

Tooltip<\/h3>\n
\"Fig.<\/a><\/p>\n

Fig. 3. Tooltip.<\/p>\n<\/div>\n

In order to achieve such a nice layout (fig. 3)\u00a0try using the following shortcode syntax:<\/p>\n

Apply \u201dtooltip\u201dpopup content<\/span><\/span> shortcode here.<\/p>\n

Highlight<\/h3>\n
\"Fig.<\/a><\/p>\n

Fig. 4. Highlight shortcode.<\/p>\n<\/div>\n

This shortcode hightlights a part of a text string. Use the following syntax:<\/p>\n

Ut elit tellus, lorem ipsum dolor<\/span> sit amet.<\/p>\n

Shortcode attributes are listed below:<\/p>\n