Skip to content

Creating themes

A theme defines the look and feel of websites in Veva. All pages in a Veva website belong to a certain template, which in turn belongs to a certain theme. You can have multiple Themes installed at the same time and use them all at once, i.e. one page can use Theme A while another page can use Theme B.

Read more

Creating a theme

A theme is a class that implements ITheme, plus a layout component. It gives the designer its breakpoints and CSS classes, adds the site's stylesheets and scripts to every page, and decides where the template's areas render. This article builds a small one on Veva 7.26.

Read more

Adding Media-query breakpoints

If your theme is responsive (uses CSS media-queries), it should expose those media-query breakpoints so the Veva page editor knows about them. Veva will then display buttons for each breakpoint above the page editor, so the user can view (and edit) the pages in all the different device widths that the theme supports.

Read more

Adding CSS classes

Many content components in Veva allow the user to change their styling by selecting CSS classes to apply to them. This CSS class selector lists all CSS classes which the theme provides.

Read more

Adding user-configurable properties/settings

You might want the user to be able to change some aspects of your theme, without using the page/template editor to actually edit content. Let's say that your theme had a header with the name of the company and a logo.

Read more

Back to top

Type to search the docs, components and API.

↑↓ to move ↵ to open Esc to close Search by Veva