Change or delete header background image

25 April, 2016
GK User
Fri Jul 08, 2016 3:28 pm
Hi,

Where can i change oder delete the big background-image under the main top navigation. Seen in the attachmend.

Regards
User avatar
Junior Boarder

teitbite
Mon Jul 11, 2016 10:22 am
Hi

You can simply replace the file in the location You see on Your screenshot or do this in template configuration. To remove it You will have to edit file /layout/deafult.php and get rid of this code:

Code: Select all
      <div class="header-wrap">
         <img
            src="<?php echo htmlspecialchars($images->image_fulltext); ?>"
            alt="<?php echo htmlspecialchars($images->image_fulltext_alt); ?>"
            itemprop="image"/>

         <?php if ($images->image_fulltext_caption) : ?>
         <div class="item-image-info">
            <span class="item-image-caption">
               <?php echo htmlspecialchars($images->image_fulltext_caption); ?>
            </span>
         </div>
         <?php endif; ?>
      </div><!-- .header-wrap -->
User avatar
Moderator

GK User
Mon Jul 11, 2016 7:02 pm
Hi,
thx for your support. The file is in this path: html/com_content/article/default.php

br

steckno
User avatar
Junior Boarder

teitbite
Wed Jul 13, 2016 4:30 pm
Hi

This is why it's so hard to figure out anything from just a piece of code. html/com_content/article/default.php is used with component, but our demo at frontpage (class visible in Your sceen) component is replaced with a module, so the header code is taken from /layout/deafult.php
User avatar
Moderator


cron