We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Sidebar only on index page
Topic Started: May 25 2013, 09:55 AM (323 Views)
bisiacco
Member
[ * ]
Hi!
I've seen this: http://if.invisionfree.com/topic/5153546/1/#new

the only problem of this code is that on any other page than the index the sidebar disappear but the main block do not expand filling the empy space

can someone help me?

additionally:

this is my test board:
http://w11.zetaboards.com/zebra_test/index/

how can i move the shoutbox in order to have it on the top but next to the sidebar?
Edited by bisiacco, May 25 2013, 01:29 PM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Add the JavaScript.
Code:
 
#main {
clear:both;
margin:0;
margin-right: 200px !important;
}
Remove the margin-right line.
Code:
 
div.margin {
margin-right: 170px !important;
}
Change 170 to 200.
Offline Profile Goto Top
 
bisiacco
Member
[ * ]
Hi Cory and thanks,
the problem with the sdebar on other pages than index is solved.

now I just need to find a way to move the chat on the top but not above the sidebar, just above the forum blocks next to the sidebar.
I have the following setting for the chat:

<script type='text/javascript'>
/* <![CDATA[ */
$('#board').insertBefore('div.category:first');
// ]]>
</script>
last additional request!

as you can see here: http://w11.zetaboards.com/zebra_test/index/

the column with last info (last post, number of post, ecc) is very large and I would like to reduce the width of this column in order to give more space to the column with the forum description:

this is what i have in this regard on Below the Board:
Spoiler: click to toggle


this is my CSS

Spoiler: click to toggle


thanks!

Edited by bisiacco, May 26 2013, 11:59 AM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code:
 
<script type="text/javascript">
//<![CDATA[
$('#sbx').prependTo('#main');
//]]>
</script>
I think that's what you want.
Code:
 
.c_last {
line-height:1.4;
min-width:300px;
width:30%;
}
Remove the min-width line. You can change the width as you please.
Offline Profile Goto Top
 
bisiacco
Member
[ * ]
That's great! Thanks
Offline Profile Goto Top
 
Eccentric Feline
Member Avatar
梦想
[ *  *  *  *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic