Please note: We are doing server maintenance. Things might be a bit wonkey until 11am EST.
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Logo shift vertically on different pages? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Logo shift vertically on different pages?
#2765
torinhill (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logo shift vertically on different pages? 1 Month, 3 Weeks ago Karma: 0  
The logo (and its background graphic area) moves whenever you shift from a page with User2 content to a page with no User2 content.

The logo jumps up and down 3 pixels ( visibly! ).
Most obviously the difference between Home and Features on the demo site.

Any suggestions?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2808
Matt (Admin)
Support
Admin
Posts: 717
graph
User Online Now Click here to see the profile of this user
Gender: Male Location: Columbus, Ohio Birthdate: 1973-12-04
Re:Logo shift vertically on different pages? 1 Month, 2 Weeks ago Karma: 11  
Good catch torinhill.

I asked Andrew to see what is going on with that.
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#2809
Andy (Admin)
Admin
Posts: 215
graphgraph
User Online Now Click here to see the profile of this user
Gender: Male
Re:Logo shift vertically on different pages? 1 Month, 2 Weeks ago Karma: 5  
Hi Guys,

If you look in the index.php at the top you will find this code:

Code:


<?php if ( mosCountModules( 'user2' ) <= 0) { ?>
<style type="text/css" media="screen">
div#top {
margin: 3px 0 -11px 0;
}
#hmenu {
background-color: #DEDFE1;
}
</style>
<?php } ?>




What this does is check if no user 2 is published to move the top div up by 11px to bend with the page. you will also notice a 3px left padding. Now I know I must have added this for a reason, but I cant think of the reason now If you change the css line to the following, this will stop the moving.

Code:


div#top {
margin: 0 0 -11px 0;
}

 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#2819
torinhill (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Logo shift vertically on different pages? 1 Month, 2 Weeks ago Karma: 0  
Will you be updating the template & download?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2820
Matt (Admin)
Support
Admin
Posts: 717
graph
User Online Now Click here to see the profile of this user
Gender: Male Location: Columbus, Ohio Birthdate: 1973-12-04
Re:Logo shift vertically on different pages? 1 Month, 2 Weeks ago Karma: 11  
It's on my to-do list.


Thanks for pointing out the easy fix Andrew.
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#2842
Andy (Admin)
Admin
Posts: 215
graphgraph
User Online Now Click here to see the profile of this user
Gender: Male
Re:Logo shift vertically on different pages? 1 Month, 2 Weeks ago Karma: 5  
Hi,

Yes, this fix will be applied to the download with any other updates at the end of this week.
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Love Thy Favicon!

Click on a block to select it..


  • Template Club

    We have included a number of subscription options to give you access to all our templates. readmore

  • JoomlaJunkie Blog

    Have you seen the JoomlaJunkie Blog, where we will be covering all kinds of exciting topics! readmore

  • Help & Support

    We offer various types of support to assist you getting setup with your new template. readmore

  • Demo Templates

    Not had a look at our templates yet? Why not head over to our demo server to take a peek!! view demos

 
  • Copyright ©2008 JoomlaJunkie.