We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Switching Sidebar on and off on different pages? | Forum

Topic location: Forum home » Development » Themes
matt
matt Mar 4 '13
I'm guess the answer to this one. But has anyone thought about or got working getting the sidebar to switch on/off the sidebar?

Like for instance - It seems to us that the dashboard page would benefit from not having teh sidebar - whereas other pages would need it.


Matt
Bob (Coder Whacker)
Yes ages ago

<style>
.ow_sidebar{
display: none;
}
</style>


Do not use it in your css editor but in custom text /http custom box or custom pages. 
matt
matt Mar 4 '13
Thanks Bob, very helpful :)

matt
matt
matt Mar 4 '13
I'm now wondering if I can edit my css so that the now sidebarless pages can make use of the extra screen real estate? I guess I can override it in the same html box? But what to tweak? Any tip appreciated?

(mods please move this to the custom mods forum, if you wish)

Matt
Bob (Coder Whacker)
Not sure but this may work

<style>
.ow_content {
width:100%!important;
<style>


I am sure if you experiment with .ow_content it should lead to the answer
Alia Team
Alia Mar 6 '13
Topic was moved from General Questions.