Shape 5

Joomla Templates => City Portal - January - Club => : kamaxcc April 27, 2009, 10:38:50 AM



: How to change city template?
: kamaxcc April 27, 2009, 10:38:50 AM
How do I change the template index.php and css, to insert a top graphic as in the image(http://www.wysmaz.nazwa.pl/cityportal.jpg)


: Re: How to change city template?
: jonahh April 27, 2009, 10:28:25 PM
Hello,

You should be able to publish your graphic to the banner position and then open up your index.php file and look for the below and remove (this will delete the login and register buttons to the right):

:
<div id="s5_topleftbuttons">
<div id="s5_topleftsignup">
<?php  $user =& JFactory::getUser();   
  $user_id $user->get('id');   
  if ($user_id) { } else { ?>

<div class="s5_topleftsignup_right"></div>
<div class="s5_topleftsignup_middle" onclick="window.document.location.href='<?php echo $s5_registerlink;?>'">
<?php echo $s5_tab1;?>
</div>
<div id="s5_topleftsignup_left"></div>
<?php ?>
<div style="clear:both;height:18px;"></div>
<?php if($this->countModules('cpanel')) { ?>
<div class="s5_topleftsignup_right"></div>
<div class="s5_topleftsignup_middle" id="s5_login" onclick="shiftOpacity('s5_box_outer');">

</div>
<div id="s5_topleftsignup_left2"></div>
<div style="clear:both;"></div>
<?php ?>
<?php if($this->countModules('cpanel')) { ?>
<div id="s5_box_outer" style="margin-left:-<?php echo ($s5_box_width) - 46;?>px;width:<?php echo $s5_box_width;?>px;">
<div id="s5_box_tl"></div>
<div id="s5_box_tm" style="width:<?php echo ($s5_box_width) - 100;?>px;"></div>
<div id="s5_box_tr" onclick="shiftOpacity('s5_box_outer');"></div>
<div style="clear:both;"></div>
<div id="s5_box_sl">
<div id="s5_box_sm" style="width:<?php echo ($s5_box_width) - 40;?>px;">
<div id="s5_box_sm_inner" style="width:<?php echo ($s5_box_width) - 48;?>px;">
<div style="padding:12px;">
<jdoc:include type="modules" name="cpanel" style="xhtml" />
</div>
</div>
</div>
</div>
<div style="clear:both;"></div>
<div id="s5_box_bl"></div>
<div id="s5_box_bm" style="width:<?php echo ($s5_box_width) - 68;?>px;"></div>
<div id="s5_box_br"></div>
</div>
<?php ?>
</div>
</div>


: Re: How to change city template?
: kamaxcc May 02, 2009, 02:24:28 AM
and how to remove these spaces between top menu and  top graphics/logo ?

(http://www.siedemcudow.pl/1.jpg)


: Re: How to change city template?
: jonahh May 05, 2009, 12:19:49 PM
To remove the space above edit the padding here:

template_css.css (line 575)

:
#s5_outerwrap {
padding-top:23px;
width:100%;
}

To remove the space below  open up the index.php file and look for:

:
<div style="clear: both; height: 27px;"/>

Edit height as desired.

Regards,