1 sachin Jul 08, 2008 20:42
3 john Jul 08, 2008 22:47
@ sachin.. you have three post on this topic.
I have deleted one unanswered post.
It's always a lot easier to stick to one post for a specific issue instead of starting new yet related posts.
Cheers
4 sachin Jul 08, 2008 23:09
no it is not working. and both the sidebars are next to each other above the post content in main.index.
this way everything is fine except the lower posts shift to the left below the leftsidebar.
i hope u are getting my problem. plz check now
www.smworldnet.com/md/blog6.php few min ago i was trying somthing and the site was looking to bad
5 sachin Jul 08, 2008 23:13
ok john. sorry for that i will take your advice
6 afwas Jul 08, 2008 23:27
in css change to:
#content {
margin: 0px 0px 0px 0px;
color: #474404;
width: 500px;
float: left;
}
Now the footer moves to the right. Try to solve this by applying the patch from my previous answer.
Good luck
7 sachin Jul 09, 2008 00:33
thank you every much.
i just placed footer outside the main content and it worked
is there any way i can place the layout on left corner
8 sachin Jul 09, 2008 20:36
i know i am expecting too much from this forum. i am sorry, being a doctor i am very poor in coding.
now i have reached final part of editing. i have placed sidebar 2, reduced the size of header & navigation and placed the layout to left corner.
now the problem
i have cleared the space for sidebar2 on topright corner by reducing the header but still sidebar2 is not moving to the topright corner.
index.main
<!--[if IE]><link rel="stylesheet" type="text/css" href="ie.css" /><![endif]-->
<div align="left">
<div id="wrap">
<div id="header">
<div id="title">
<?php
// ------------------------- "Header" CONTAINER EMBEDDED HERE --------------------------
// Display container and contents:
skin_container( NT_('Header'), array(
// The following params will be used as defaults for widgets included in this container:
'block_start' => '<div class="description">',
'block_end' => '</div>',
'block_title_start' => '<h1>',
'block_title_end' => '</h1>',
) );
// ----------------------------- END OF "Header" CONTAINER -----------------------------
?>
</div>
<div id="topright">
<?php if ( true /* change to false to hide the search box */ ) { ?>
<?php } ?>
</div>
</div><!-- end of header -->
<div id="navigation">
<ul>
<?php
// ------------------------- "Menu" CONTAINER EMBEDDED HERE --------------------------
// Display container and contents:
// Note: this container is designed to be a single <ul> list
skin_container( NT_('Menu'), array(
// The following params will be used as defaults for widgets included in this container:
'block_start' => '',
'block_end' => '',
'block_display_title' => false,
'list_start' => '',
'list_end' => '',
'item_start' => '<li>',
'item_end' => '</li>',
) );
// ----------------------------- END OF "Menu" CONTAINER -----------------------------
?>
</ul>
</div><!-- end of navigation -->
<div id="sidebar_right">
<?php
// ------------------------- SIDEBAR INCLUDED HERE --------------------------
skin_include( '_sidebar_right.inc.php' );
// Note: You can customize the default BODY footer by copying the
// _body_footer.inc.php file into the current skin folder.
// ----------------------------- END OF SIDEBAR -----------------------------
?>
</div>
<?php
// ------------------------- SIDEBAR INCLUDED HERE --------------------------
skin_include( '_sidebar.inc.php' );
// Note: You can customize the default BODY footer by copying the
// _body_footer.inc.php file into the current skin folder.
// ----------------------------- END OF SIDEBAR -----------------------------
?>
<div id="content">
<?php
// ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
messages( array(
'block_start' => '<div class="action_messages">',
'block_end' => '</div>',
) );
// --------------------------------- END OF MESSAGES ---------------------------------
?>
<?php // ---------------------------------- START OF POSTS --------------------------------------
// Display message if no post:
display_if_empty();
while( $Item = & mainlist_get_item() )
{ // For each blog post, do everything below up to the closing curly brace "}"
?>
and .css
/* ---------------------------------------------- */
* {
padding: 0px;
margin: 0px;
}
body {
background: url(images/background.gif) repeat-x #afa907;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #ffffff;
margin: 0px 0px 0px 0px;
}
#wrap {
width: 900px;
text-align:left;
}
#header {
background: url(images/background_header.gif) no-repeat;
height: 100px;
width: 680px;
margin-bottom: 2px;
}
#topright {
float: left;
margin: 20px 20px 0px 0px;
}
#navigation {
float: left;
width: 680px;
clear: both;
background: url(images/background_nav.gif) repeat-y;
border-top: 1px solid #bab100;
border-bottom: 1px solid #bab100;
padding: 3px 0px 5px 0px;
text-align: left;
font-size: 10pt;
font-weight: bold;
}
#sidebar {
margin: 20px 0px 0px 0px;
float: left;
overflow: hidden;
width: 180px;
}
div.clear {
clear: both;
}
#content {
overflow: hidden;
width: 510px;
float: right;
margin: 10px 20px 20px 10px;
color: #474404;
}
#footer {
clear: both;
background: url(images/background_footer.gif) repeat-x #9a9506;
padding: 15px 0px;
width: 900px;
text-align: center;
color: #ffffff;
}
.post{
background:url(images/background_entry.gif) repeat-x #9b9505;
width: 520px;
overflow: hidden;
margin-bottom: 15px;
}
.entry {
padding: 0px 15px;
/* width: 500px; */
}
#sidebar_right {
margin: 0px 0px 0px 0px;
float: right;
overflow: hidden;
width: 180px;
}
www.smworldnet.com/md/blog6.php
thank you
Try adding this in index.main.php between the rightmost sidebar and the footer:
and this in the css stylesheet:
Good luck