test
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Robin Friend
    #198683

    Hi. I want to remove the date on the top header. How can i do this?

    pavit Moderator
    #538558

    Hi

    Goto this file templatesja_teline_iiiblocksheader.php find the code

    <!-- HEADLINES & Top megamenu -->
    <div class="ja-topbar clearfix">
    <p class="ja-day">
    <?php
    echo "<span class="day">".JHTML::_('date', 'now', 'l')."</span>";
    echo "<span class="date">, ".JHTML::_('date', 'now', 'M ')." ".JHTML::_('date', 'now', 'd').JHTML::_('date', 'now', 'S')."</span>";
    ?>
    </p>
    <p class="ja-updatetime"><span><?php echo JText::_('JA_TIII_LAST_UPDATE')?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>

    remove the code <p class=”ja-day”> red marked as showed below

    <!-- HEADLINES & Top megamenu -->
    <div class="ja-topbar clearfix">

    <p class="ja-updatetime"><span><?php echo JText::_('JA_TIII_LAST_UPDATE')?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>

    remember to clean your jat3 cache after you changed the header.php file

    Robin Friend
    #538939

    How do i get rid of the the empty box? I want to keep the headlines and search box.


    1. Picture-126
    pavit Moderator
    #538986

    <em>@rwold 432314 wrote:</em><blockquote> How do i get rid of the the empty box? I want to keep the headlines and search box.</blockquote>

    Your question was referred to the template JA-Teline_III v2 , but your image is showing the Ja_Teline_IV template, could you post a link to your page ?

    Robin Friend
    #538992

    Hi, I sent you a PM since the front end is password protected.

    Thank you.

    pavit Moderator
    #538999

    Hi

    Change the header.php file in this way

    look at the <div class=”span9 ja-headline”> you should change it from span5 to span9

    <!-- HEADER -->
    <div class="container topbar">
    <div class="row">

    <div class="span9 ja-headline">
    <?php if ($this->countModules('headline')) : ?>
    <div class="headline<?php $this->_c('headline')?>">
    <jdoc:include type="modules" name="<?php $this->_p('headline') ?>" style="raw" />
    </div>
    <?php endif ?>
    </div>
    <div class="span3 ja-search">
    <?php if ($this->countModules('head-search')) : ?>
    <div class="head-search<?php $this->_c('head-search')?>">
    <jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
    </div>
    <?php endif ?>
    </div>
    </div>
    </div>
    <header id="t3-header" class="container t3-header">

    Robin Friend
    #539058

    That worked! Thanks so much!:)

    Robin Friend
    #539775

    Hi again,

    Can you tell me how to remove the box around the headline? I just want the search box to have the border lines but not the headline.

    pavit Moderator
    #539776

    Hi

    I’m not sure i well understood your question , to avoid unwanted changes please post a mock up of your changes needed

    Robin Friend
    #539779

    I want to remove the gray line around headline. I want to keep the line around the search field.


    1. Picture-211
Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  Robin 10 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum