Removing the Sitewide Site Name global area

Permalink 1 user found helpful
Hi,

Probably a newbie question but my sites header image contains the site logo and the site name. Therefore I do not want the Site Name to appear in the Sitewide Site Name global area.

I have made this happen simply by deleting the name from the global block. THis now leaves the site name intact in the settings but the Site NAme global area is now a dead white space which I would like to reclaim s o that the site wide Header nav is topmost.

In looking at the "my Theme" header.php I can see that this area is set by the following php:

<div id="main-container" class="container_24">
   <div id="header">
      <!-- Site Name Global Area -->
      <?php 
      $a = new GlobalArea('Site Name');
      $a->display();
      ?>


Can I simply remove this so that it cannot be referenced or will with screw with other areas of C5?

Or should I enclose it in /* in here */ so that it is invisible or ignored?

Any advice would be welcomed.

Many thanks

Fanflame

Fanflame
 
RobertJNL replied on at Permalink Reply
RobertJNL
Hi Fanflame,

you can indeed remove this without causing any other issues to the site functions.
Commenting is also ok if you might wanna bring it back later.

Robert
Fanflame replied on at Permalink Reply
Fanflame
Hi Robert,

many thanks for your confirmation I really appreciate your replying to me and helping me this way.

Fanflame