The PlaceHolderLeftNavBar that I am referring to is as follows:
<asp:Content runat="server" ContentPlaceHolderID="PlaceHolderLeftNavBar">
I wish to change the width without editing the master page. Is it possible?
Thank you.
|
The PlaceHolderLeftNavBar that I am referring to is as follows:
I wish to change the width without editing the master page. Is it possible? Thank you. |
|||
|
|
|
You can simply add a Content Editor WebPart or Simple Form WebPart (either one will work) to the page, open the WebPart properties, mark the WebPart as hidden and add the below CSS code to the HTML source view:
|
|||||||||||
|
|
It depends what the scope of your change is. If you only need to widen it on one (or a few) pages you can apply custom CSS to the page through the Look and Feel section of the site settings. http://whitepages.unlimitedviz.com/2010/05/using-themes-and-css-with-sharepoint-2010/ (Scroll down until after the themes) If you want it wider on all pages, that's a master page thing. The CSS class of the Left Navbar after it renders is #s4-leftpanel. Most of the base classes are listed on Erik Swenson's blog here: http://erikswenson.blogspot.com/2010/01/sharepoint-2010-base-css-classes.html |
|||||||
|