Hi,
#rightPanels {
float: right;
margin: 0 0 0 -420px;
width: 420px;
}
#body.hideleft #contentcolumn .main {
margin: 0 400px 0 0;
}
.panel {
display: block;
width: 390px;
}
The values are calculated considering the margins.
You can remove the float and the display since they are cascading from
Colibri.
Just make sure you consider .hideleft, .hideright, .hidelefthideright
cases.
Thanks,
Caty
On Fri, Oct 4, 2013 at 9:47 AM, Hamster <teunham(a)hotmail.com> wrote:
I want to change the width of my panel on the RIGHT.
So far I have:
1) Created a new XWiki-page "XWiki.MyStyleSheetExtension"
2) Added a "StyleSheetExtension" object to that page
I have added this code (css):
#rightPanels
{
width: 400px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: -400px;
float: right;
}
Use this extension: "Always on this page" (will change this to "Always on
this wiki" when I get it all right)
Parse content: "No"
Caching policy: "default"
The only change I notice is the "margin-left" property, the panel on the
right now floats more to the left. But the panel has still a width of 220px
(not 400px), and the width of the "main content" is still the same (thus
the
"main content" and my panel are now overlapping).
My guess is that it is all in the CSS and I need to add more sections to
make my panel wider and my "main content" smaller.
Problem is I have NO CLUE which things I need to add to the CSS!
Help! :-)
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Change-width-of-panel-tp7587403.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users