<?php
require_once INFUSIONS."simple_header_login/login.php";
?>
Quote
skpacman wrote:
Please replace your current styles.css with the one from this link. that should fix it as shown here.
#templatemo_content {
float : left;
width : 528px;
margin-right : 20px;
}
#templatemo_content_noside {
float : left;
width : 710px;
margin-right : 20px;
}
#templatemo_content_noboth {
float : left;
width : 940px;
margin-right : 20px;
}
Quote
skpacman wrote:
In order to change the position of the side columns, I would have to do some restructure of the theme.php and styles.css. It wouldn't be too much work but I could do it given some time.
Quote
mattish91 wrote:
[Edit]
I successfully managed to change the borders correctly, and change both sidebars to left, but i don't manage to change the right sidebar to right. any suggestions?
Quote
skpacman wrote:Quote
mattish91 wrote:
[Edit]
I successfully managed to change the borders correctly, and change both sidebars to left, but i don't manage to change the right sidebar to right. any suggestions?
both sidebars are in one container. that container needs to be split up in the theme.php in order to separate them.
if(!LEFT && RIGHT){
echo "<div id='templatemo_content_noside'>
".U_CENTER.CONTENT.L_CENTER."
</div>";
}
if(!RIGHT && LEFT){
echo "<div id='templatemo_content_noside'>
".U_CENTER.CONTENT.L_CENTER."
</div>";
}
#templatemo_content {
/* float : right; */
width : 528px;
margin-left: auto;
margin-right: auto;
}
#templatemo_content_noside {
/* float : left; */
width : 710px;
margin-right : 20px;
}
#templatemo_content_noboth {
/* float : right; */
width : 940px;
margin-right : 20px;
}
#templatemo_content {
/* float : right; */
width : 528px;
margin-left: auto;
margin-right: auto;
}
#templatemo_content_noside {
/* float : left; */
width : 710px;
margin-right : 20px;
}
#templatemo_content_noboth {
/* float : right; */
width : 940px;
margin-right : 20px;
}
#templatemo_content {
float : left;
width : 528px;
margin-right : 20px;
}
#templatemo_content_noside {
float : left;
width : 710px;
margin-right : 20px;
}
#templatemo_content_noboth {
float : left;
width : 940px;
margin-right : 20px;
}
#templatemo_sidebar_left {
float : left;
width : 180px;
padding-left : 15px;
border-left : 1px solid #0d3bb3;
margin-right : 20px;
}
#templatemo_sidebar_right {
float : right;
width : 180px;
padding-left : 15px;
border-left : 1px solid #0d3bb3;
}
if (LEFT) {
echo" <div id='templatemo_sidebar_left' class='sidebar_box_left'>\n";
echo LEFT ;
echo" </div>\n";
}
if(!LEFT && RIGHT){
echo "<div id='templatemo_content_noside'>
".U_CENTER.CONTENT.L_CENTER."
</div>";
}
if(!RIGHT && LEFT){
echo "<div id='templatemo_content_noside'>
".U_CENTER.CONTENT.L_CENTER."
</div>";
}
if(!LEFT && !RIGHT){
echo "<div id='templatemo_content_noboth'>
".U_CENTER.CONTENT.L_CENTER."
</div>";
}
if(LEFT && RIGHT){
echo "<div id='templatemo_content'>
".U_CENTER.CONTENT.L_CENTER."
</div>";
}
if (RIGHT) {
echo"<div id='templatemo_sidebar_right' class='sidebar_box_right'>\n";
echo RIGHT;
echo"</div>\n";
}
#templatemo_sidebar_left {
float : left;
width : 180px;
padding-left : 15px;
border-left : 1px solid #0d3bb3;
margin-right : 20px;
}
#templatemo_sidebar_left {
float : left;
width : 180px;
padding-left : 15px;
border-right : 1px solid #0d3bb3;
margin-right : 20px;
}
Quote
skpacman wrote:
Thanks for the update, mattish91
I can make a variation pack and upload that to the addon db from this (with credit to you for the idea).
If you have any more ideas for this theme, i'd love to hear about them.
Category Forum
Official releases [Themes]Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions