Meetanshi Docs Magento 2 Werra for Hyva

Prerequisites for Werra Theme

Before installing, ensure your system meets the following requirements:

  • Node Version: v18.20.8
  • NPM Version: v10.8.2

If you don’t have Hyvä installed, run these commands:

composer config --auth http-basic.hyva-themes.repo.packagist.com token {{Your token}}
composer config repositories.private-packagist composer https://hyva-themes.repo.packagist.com/{{your repo name here}}/
composer require hyva-themes/magento2-default-theme

Recommended Magento Configuration

Click to view Magento Config Commands
php bin/magento config:set customer/captcha/enable 0
php bin/magento config:set dev/template/minify_html 0
php bin/magento config:set dev/js/merge_files 0
php bin/magento config:set dev/js/enable_js_bundling 0
php bin/magento config:set dev/js/minify_files 0
php bin/magento config:set dev/js/move_script_to_bottom 0
php bin/magento config:set dev/css/merge_css_files 0
php bin/magento config:set dev/css/minify_files 0

You’ll also need Luma Checkout & Tailwind JIT to use the Werra theme:

composer require hyva-themes/magento2-luma-checkout
composer require hyva-themes/magento2-cms-tailwind-jit

1. Download & Extract Werra Package

Once the Werra Theme is purchased, extract the Werra theme ZIP into your Magento root directory.

Build Tailwind CSS:

npm --prefix app/design/frontend/Meetanshi/hyva_werra/web/tailwind/ install
npm --prefix app/design/frontend/Meetanshi/hyva_werra/web/tailwind/ audit-fix
npm --prefix app/design/frontend/Meetanshi/hyva_werra/web/tailwind/ run build

Run Magento commands:

php bin/magento se:up
php bin/magento s:s:d -f
php bin/magento s:d:c
php bin/magento c:c
php bin/magento c:f

2. Import Blocks & Pages

  1. Go to Meetanshi > Werra Theme Settings

Werra Theme Settings

  1. Set Override Settings to Yes
  2. Click Import CMS Blocks → Import CMS Pages

Import CMS Blocks & Pages

This automatically creates required CMS blocks and pages.


3. Customize Theme Design & Colors

Customize your brand design from the admin panel.

Werra Design Settings

3.1 Theme Colors

Configure background, border, text, headings, links, and hover colors.

Theme Colors

3.2 General Colors

Set colors for success, warning, error messages, buttons, and forms.

General Message Colors

Button & Form Colors

3.3 Page Wrapper

Configure page background, text, headings, and links.

Page Wrapper Colors

3.4 Main Container

Customize main sections like categories, popular products, best sellers, and brands.

Main Container Colors

3.5 Header

Enable the top notification bar and configure colors.

  • CMS Block ID
  • Background, text, link, hover colors

Top Notification Bar

Menu bar customization:

Header Menu

3.6 Footer

Configure top & bottom footer sections with CMS blocks and colors.

Footer Settings


4. Configure Hyvä Homepage Banners & Sliders

Navigate to Meetanshi > Configuration

Werra Configuration

Enable Hyvä Slider and use it in CMS blocks/pages:

{{block class="Meetanshi\HyvaSlider\Block\Slider" slider_id="1" template="Meetanshi_HyvaSlider::slider.phtml"}}

Enable Hyva Slider


4.1 Create a Banner

  1. Go to Meetanshi > Banners

Banners

  1. Click Add New Banner

Add Banner

  1. Upload Desktop & Mobile images

Banner Images

  1. Set position, link, order, and title

Edit Banner


4.2 Create a Slider

  1. Go to Meetanshi > Sliders

Sliders

  1. Click Add New Slider

Add Slider

  1. Configure slider settings

Slider Settings

  1. Select banners and save

Select Banners


Example: Use Slider on Homepage

  1. Go to Content > Blocks
  2. Edit Home Page Slider

Edit Home Slider

  1. Update the slider_id

Edit Slider HTML


5. Configure Homepage Category Section

Edit the default homepage category block.

Homepage Category Section

  1. Go to Content > Blocks

  2. Edit Home Page Category List

  3. Update the JSON:

    • Category names, image URLs, links
    • Base image URL path

Edit Category JSON

Click Save to apply changes.

Updated: Mar 7, 2026Top ↑