- Posts: 14116
- Thank you received: 1639
hot sportal template layout suddenly changed??
-
ivan.milic
Support Staff - Moderator
Less
More
12 years 4 months ago #20740
by ivan.milic
Replied by ivan.milic on topic hot sportal template layout suddenly changed??
Open template_css.php
find this:
<?php if ($showuser1) { ?>
.user2,.main_area,.bottom,.footer,.footer2,.upper {
position:relative;
top:-35px;
}
<?php } ?>
remove position:relative;
find this:
<?php if ($showuser1) { ?>
.user2,.main_area,.bottom,.footer,.footer2,.upper {
position:relative;
top:-35px;
}
<?php } ?>
remove position:relative;
Please Log in to join the conversation.
-
patricktrolan
Inactive member - Topic Author
- Member
Less
More
- Posts: 32
- Thank you received: 0
12 years 4 months ago #20760
by patricktrolan
Replied by patricktrolan on topic hot sportal template layout suddenly changed??
This fix sorts out the access issues re the homepage featured articles but the facebook and twitter modules are still stuck below the featured articles when they should be on the right hand side as they are allocated in their respective modules and as they were before this sudden change occurred?
thanks
thanks
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 4 months ago #20763
by ivan.milic
Replied by ivan.milic on topic hot sportal template layout suddenly changed??
There are on right side, do you mean "right" module position?
Please Log in to join the conversation.
-
patricktrolan
Inactive member - Topic Author
- Member
Less
More
- Posts: 32
- Thank you received: 0
12 years 4 months ago #20765
by patricktrolan
Replied by patricktrolan on topic hot sportal template layout suddenly changed??
Yes, I mean in the 'right' module position. They were there before they suddenly moved, want them back in the 'right' module position,
thanks
thanks
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 4 months ago #20774
by ivan.milic
Replied by ivan.milic on topic hot sportal template layout suddenly changed??
If your module is positioned correctly in "right" module position then send joomla admin access using "Report To Moderator"
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 4 months ago #20781
by ivan.milic
Replied by ivan.milic on topic hot sportal template layout suddenly changed??
you have some missing div closing </div> that break layout. To make your life easier in index.php of template:
<?php
if($columnLayout=="mlr") {
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
} else if($columnLayout=="lrm") {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
} else {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
}
?>
I added this 3 echo '</div>'; , if you can find that unclosed div and close it in content, you can remove them then. They do not cause any problems even if they are extra
<?php
if($columnLayout=="mlr") {
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
} else if($columnLayout=="lrm") {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
} else {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
}
?>
I added this 3 echo '</div>'; , if you can find that unclosed div and close it in content, you can remove them then. They do not cause any problems even if they are extra
The following user(s) said Thank You: patricktrolan
Please Log in to join the conversation.
Time to create page: 0.088 seconds