Changes you make in the files of Vendix Theme are replaced when you update the theme. Keep your own styles, code and template changes out of the theme files.
Vendix Child comes with Vendix Pro
Vendix Child is the child theme starter for Vendix Theme. It is not offered as a separate download; Vendix Pro installs it for you. Vendix Free and Vendix Theme on their own do not include it.
Install Vendix Child
- Install Vendix Theme first (Appearance → Themes). It does not have to be the active theme.
- Open ARN Vendix → Settings. The Vendix Child Theme card shows whether Vendix Theme and Vendix Child are installed or active.
- Leave Activate Vendix Child after installing it ticked to switch to it right away, or untick it to activate it later. The box is ticked when Vendix Theme itself is your active theme.
- Click Install Vendix Child.
Vendix Pro copies Vendix Child to wp-content/themes/vendix-child. If that folder is already there, Vendix Pro does not overwrite it, so your own copy keeps its changes.
Only an administrator who can install themes sees the button; on a multisite network, a network administrator. If WordPress can write to the themes folder only with FTP details, the card says so: add the FTP details to wp-config.php or ask your host to make wp-content/themes writable, then try again.
Your site keeps its look
WordPress keeps the Customizer settings of each theme on their own, so a child theme normally starts empty. Vendix Child starts with a copy of what Vendix Theme has when Vendix Pro installs it:
- the Customizer settings of Vendix Theme, such as the site type, header, footer, store and news options;
- the menu locations and the logo;
- the Additional CSS.
After that the two themes keep their settings apart: a change you make in the Customizer while Vendix Child is active stays with Vendix Child. Settings you change in Vendix Theme after installing Vendix Child are not copied again.
If Vendix Child already has Customizer settings of its own, they are kept and nothing is copied.
Activate it later
If you installed Vendix Child without activating it, click Activate Vendix Child on the same card, or activate it under Appearance → Themes. When it has no Customizer settings of its own yet, the card's button gives it a copy of those of Vendix Theme first.
On a multisite network, a theme must be enabled for a site before it can be activated there. When a network administrator activates Vendix Child from the card, it is enabled for that site only. For a site administrator, the card says that a network administrator has to enable it first under Network Admin → Sites → Edit → Themes.
What goes where
- Your CSS: in
style.cssof Vendix Child. Some Vendix Theme styles, such as those of the header and store options, are printed later in the page; if a Vendix Theme rule still wins over yours, use a more specific selector. Use logical properties such asmargin-inline-start,padding-inline-endandinset-inline-start, so the layout also works on right-to-left sites. - Your PHP: in
functions.phpof Vendix Child. - A changed template: copy it from Vendix Theme into Vendix Child with the same path, for example
template-parts/footer.php, and edit the copy.
Vendix Theme updates do not overwrite Vendix Child.
Without a child theme
- Colors and fonts: set them in Elementor Site Settings or in the Vendix Design System, not in CSS. See Colors, fonts and Elementor.
- Small CSS changes: add them under Appearance → Customize → Additional CSS. They are stored in your site, not in the theme files, so theme updates keep them.
- Changes to what the theme prints: use its actions and filters from a plugin. Hooks keep working when Vendix Theme updates its templates. See Hooks and filters for developers.