Remove Title from masthead

More
5 years 2 months ago #1138 by Van Houtte Claude
I'm want to use Geek masthead on a Joomla3 website with Purity III template. Can someone tell me how I can remove the title of the masthead. (It appears as title or as home)
Thanks
Claude

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #1139 by Thanh Nguyen
Hello Van,

You can follow the steps below to hide title from the masthead:

1. Open settings panel of Geek Masthead module, and set title empty.

2. Open the file:
modules/mod_geekmasthead/mod_geekmasthead.php

3. Find a code snippet:
Code:
if(empty($title)) { $title = $doc->getTitle(); }

4. And replace it with below one:
Code:
if(empty($title)) { //$title = $doc->getTitle(); }

5. Save changes.

Thanh Nguyen
Founder & Lead Developer

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #1140 by Van Houtte Claude
Hello Than,

Thanks for the reply. It works great.

Claude

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #1141 by Thanh Nguyen
You're welcome :)

Thanh Nguyen
Founder & Lead Developer

Please Log in or Create an account to join the conversation.