[SOLVED] How do I change the header title in (material theme)

Post Reply
User avatar
Majbritt
Posts: 2
Joined: Sun Jul 30, 2017 10:36 am

[SOLVED] How do I change the header title in (material theme)

Post by Majbritt »

Hi all wonder lovers. I'm new here.

Sorry, my English is not so good, but I'll try to make myself understandable.

Where and how do I change HOME in header material theme?
Seems I can not find a place where I can change it.

Hope there is a kind soul that can help me here.

Thanks for a wonderful cms :shock:

Greetings from Denmark
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: How do I change the header title in (material theme)

Post by wiz »

Hi Majbritt, welcome to the community!

I believe that the material theme shows the "current page" there, which is always different.
On another page, it will say something else than HOME.

If you would like to change the text, open theme.php and replace

Code: Select all

 <h1 class="title-page"><?=wCMS::$currentPage?></h1>
with

Code: Select all

 <h1 class="title-page">Your text HERE</h1>
The text will then always be the same.

This will solve your issue.
Post Reply