Remove

Support desk for Multipurpose Quark Theme
GK User
Fri Feb 06, 2015 8:41 am
Hi!

How can i remove this from the source?

<div class="header no-image"></div>
User avatar
Fresh Boarder

GK User
Fri Feb 06, 2015 9:01 am
Hello,

On which page do you have this syntax?
User avatar
Administrator

GK User
Fri Feb 06, 2015 9:09 am
On all pages.

<header id="gkHeader">
<div id="gkHeaderNav">

<a href="" id="gkLogo" class="text">
<span></span></a>

</div></header>
<div id="gkPageContent"><div>
<div>
<div id="gkContent">
<section id="gkMainbody">


<article id="comContentContainer" class="itemView single-page " itemscope itemtype="http://schema.org/Article">
<meta itemprop="inLanguage" content="en-GB" />

<div class="header no-image"></div>

<div class="gkPage">
<div id="gk-content-wrapper">

<div class="item-content">
User avatar
Fresh Boarder

GK User
Fri Feb 06, 2015 9:13 am
In the html/com_content/article/default.php file please change the following fragment:

Code: Select all
<div class="header<?php if($no_image) : ?> no-image<?php endif; ?>">
      <?php if (isset($images->image_fulltext) && !empty($images->image_fulltext)) : ?>
      <img src="<?php echo $images->image_fulltext; ?>" alt="" />
      <?php endif; ?>   
      
      <?php if (
         $params->get('show_title') ||
         $params->get('show_publish_date') ||
         $params->get('show_create_date')
      ) : ?>
      <div class="item-title-wrap">
         <?php if ($params->get('show_title')) : ?>
         <h1 class="item-title" itemprop="name" data-sr="enter bottom and move 50px"><?php echo $this->escape($this->item->title); ?></h1>
         <?php endif; ?>
         
         <?php if($params->get('show_publish_date')) : ?>
         <span class="item-category" data-sr="enter bottom and move 50px and wait .2s">
            <time datetime="<?php echo JHtml::_('date', $this->item->publish_up, JText::_(DATE_W3C)); ?>" itemprop="datePublished">
               <?php echo JHTML::_('date', $this->item->publish_up, 'l, j F Y'); ?>
            </time>
         </span>
         <?php elseif($params->get('show_create_date')) : ?>
         <span class="item-category" data-sr="enter bottom and move 50px and wait .2s">
            <time datetime="<?php echo JHtml::_('date', $this->item->created, JText::_(DATE_W3C)); ?>" itemprop="dateCreated">
               <?php echo JHTML::_('date', $this->item->created, 'l, j F Y'); ?>
            </time>
         </span>
         <?php endif; ?>
      </div>
      <?php endif; ?>
      
      <?php if($templateSettings->get('display_mouse_icon', '1') != '0') : ?>
      <span class="mouse-icon"><span><span></span></span></span>
      <?php endif; ?>
   </div>


to:

Code: Select all
<?php if (
                        !$noimage ||
         $params->get('show_title') ||
         $params->get('show_publish_date') ||
         $params->get('show_create_date')
      ) : ?>
<div class="header<?php if($no_image) : ?> no-image<?php endif; ?>">
      <?php if (isset($images->image_fulltext) && !empty($images->image_fulltext)) : ?>
      <img src="<?php echo $images->image_fulltext; ?>" alt="" />
      <?php endif; ?>   
      
      <?php if (
         $params->get('show_title') ||
         $params->get('show_publish_date') ||
         $params->get('show_create_date')
      ) : ?>
      <div class="item-title-wrap">
         <?php if ($params->get('show_title')) : ?>
         <h1 class="item-title" itemprop="name" data-sr="enter bottom and move 50px"><?php echo $this->escape($this->item->title); ?></h1>
         <?php endif; ?>
         
         <?php if($params->get('show_publish_date')) : ?>
         <span class="item-category" data-sr="enter bottom and move 50px and wait .2s">
            <time datetime="<?php echo JHtml::_('date', $this->item->publish_up, JText::_(DATE_W3C)); ?>" itemprop="datePublished">
               <?php echo JHTML::_('date', $this->item->publish_up, 'l, j F Y'); ?>
            </time>
         </span>
         <?php elseif($params->get('show_create_date')) : ?>
         <span class="item-category" data-sr="enter bottom and move 50px and wait .2s">
            <time datetime="<?php echo JHtml::_('date', $this->item->created, JText::_(DATE_W3C)); ?>" itemprop="dateCreated">
               <?php echo JHTML::_('date', $this->item->created, 'l, j F Y'); ?>
            </time>
         </span>
         <?php endif; ?>
      </div>
      <?php endif; ?>
      
      <?php if($templateSettings->get('display_mouse_icon', '1') != '0') : ?>
      <span class="mouse-icon"><span><span></span></span></span>
      <?php endif; ?>
   </div>
<?php endif; ?>


I will include this fix in the next update v.1.0.2 probably in the next week.
User avatar
Administrator

GK User
Fri Feb 06, 2015 9:20 am
Thanks :)
User avatar
Fresh Boarder


cron