Forum Support

Shape 5
March 28, 2024, 01:07:59 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: How to change city template?  (Read 514 times)
kamaxcc
Jr. Member
**
Offline Offline

Posts: 3



« on: 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
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: 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):

Code:
<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>
Logged

Jonah Hall
------------
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
kamaxcc
Jr. Member
**
Offline Offline

Posts: 3



« Reply #2 on: May 02, 2009, 02:24:28 AM »

and how to remove these spaces between top menu and  top graphics/logo ?

Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: May 05, 2009, 12:19:49 PM »

To remove the space above edit the padding here:

template_css.css (line 575)

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

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

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

Edit height as desired.

Regards,
Logged

Jonah Hall
------------
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
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.