Create subtheme manually
Copy the provus_bootstrap
folder on your /themes/custom
directory.
Rename the provus_bootstrap
folder to your custom theme name, for example yourname
Rename the following files from provus_bootstrap
to yourname
:
provus_bootstrap.theme
to yourname.theme
provus_bootstrap.info.yml
to yourname.info.yml
provus_bootstrap.libraries.yml
to yourname.libraries.yml
/config/install/provus_bootstrap.settings.yml
to /config/install/yourname.settings.yml
/config/schema/provus_bootstrap.schema.yml
to /config/schema/yourname.schema.yml
Edit the file yourname.info.yml
Make sure that yourname/bootstrap_cdn
is the Bootstrap library you want (CDN or local).
Delete the following:
Edit /config/schema/yourname.schema.yml
Edit yourname.theme
Rename the function from:
function provus_bootstrap_form_system_theme_settings_alter(&$form, FormStateInterface $form_state)
to:
function yourname_form_system_theme_settings_alter(&$form, FormStateInterface $form_state)
For a complete explanation on how to write sub-themes on Drupal 8 please refer to the Creating a Drupal 8 sub-theme Guide
Last updated