Forum Support

Shape 5
December 02, 2021, 11:00:09 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: Help With User 1 Position  (Read 452 times)
mona
Jr. Member
**
Offline Offline

Posts: 23



« on: August 20, 2007, 05:43:45 PM »

Hi there,

I would like to place a long logo that is 463 pixels wide and 63 pixels high in the user 1 position.
How may I do this?

I would however like to keep the user 3 position working.

Thank you in advance

Jeff 
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: August 20, 2007, 07:49:58 PM »

Jeff,

Scroll down to about line 191 in your "index.php" file and replace the code just below this line:

"<?php if(mosCountModules('user1') || mosCountModules('user2') || mosCountModules('user3')) { ?>"

-----------------------------------------------
With the following code:
-----------------------------------------------
      <div class="inner">
         <?php if(mosCountModules('user3')) { ?>
         <div class="block s5_user3">
            <?php mosloadmodules('user3',-2);?>
         </div>
         <div class="separator"><span>&nbsp;</span></div>
         <?php } ?>
         
         <?php if(mosCountModules('user2')) { ?>
         <div style="float:right;padding:0pt 0pt 5px;width:62%;">
            <?php mosloadmodules('user2',-2);?>
         </div>
         <?php } ?>
      
      </div>

    <?php } ?>

-----------------------------------------------
And ending before the below:
-----------------------------------------------
    <?php if ( mosCountModules( 'user1' ) <= 0 && mosCountModules( 'user2' ) <= 0 && mosCountModules( 'user3' ) <= 0) { ?> 



This deletes the "user1" position and expands "user2" to fill up the rest of the user1 position which will allow you the room for you logo.

Regards,
« Last Edit: November 02, 2007, 08:07:26 AM by mikek » 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
mona
Jr. Member
**
Offline Offline

Posts: 23



« Reply #2 on: August 20, 2007, 08:51:42 PM »

Thanks for the quick reply!

It worked Perfectly! 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.