diff --git a/themes/material/home.theme.php b/themes/material/home.theme.php
index e2aff959..e1be4230 100644
--- a/themes/material/home.theme.php
+++ b/themes/material/home.theme.php
@@ -29,7 +29,7 @@ EOD
$message_html = empty($main_text) ? "" : "
$main_text
";
$counter_html = empty($counter_text) ? "" : "$counter_text
";
$contact_link = empty($contact_link) ? "" : "
Contact -";
- $main_links_html = empty($main_links) ? "" : preg_replace("/shm-clink/", "/mdl-navigation__link/", $main_links);
+ $main_links_html = empty($main_links) ? "" : preg_replace("/shm-clink/g", "/mdl-navigation__link/", $main_links);
$search_html = "