Forum Support

Shape 5
December 04, 2021, 08:31:01 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: No date - but still a color bar?  (Read 564 times)
labra
Jr. Member
**
Offline Offline

Posts: 53



« on: June 09, 2009, 05:31:37 AM »

Dear Mike -

Plz help me sort this out. I'd like to remove the date from the "icon" position - but keep the background bar there as a visual element. There is absolutely nothing I could post to that position - so it automatically collapses.

Any ideas on how to keep the bar there - but leave it blank?

TIA -

Lev
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: June 09, 2009, 08:03:54 AM »

Hi, at line 995 of the template's index.php file you will find:

<?php if ($s5_show_date == "yes" || $this->countModules('icon')) { ?>
                    <div id="s5_date">

<?php if ($s5_show_date == "yes") { ?>
<div style="float:left; margin-right: 10px;">
<?php $today = date("F j, Y"); PRINT "$today";?>
</div>
<?php } ?>

<?php if ($this->countModules('icon')) { ?>
<div id="s5_icon">
<jdoc:include type="modules" name="icon" style="xhtml" />
</div>
<?php } ?>
<div class="clr"></div>
                    </div>
<?php } ?>



Change it to:



                    <div id="s5_date" style="height:15px">


                    </div>
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
labra
Jr. Member
**
Offline Offline

Posts: 53



« Reply #2 on: June 09, 2009, 08:23:08 AM »

Thanx muchly, Mike!!!!!!!!! Grin
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.