By glovestudios on
It seems the things that should be the simplest in Dupal are the things that are impossible to find help with. Can anyone tell me simply how to define my regions so I can have a right sidebar and no left sidebar?
Any help would be appreciated.
Thanks.
Comments
Rather depends on your
Rather depends on your theme, some sidebars only appear when a block is enabled for it, some themes always display them.
If you really need more info then read some of the documentation, plenty there to cover this and then some.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
Yeah, I've been though as
Yeah, I've been though as much documentation as I can find but don't see the answer. I thought I found the answer a few times but it didn't seem to do the trick.
As far as I'm aware, that
As far as I'm aware, that kind of ability is completely theme dependent.
If the author hasn't written in the capability to move parts around in the
admin backend, then you'll have to edit the css and/or tpl files.
But I don't think you'll find instructions to do that; only descriptions of
how theming generally works.
I guess I'll have to keep
I guess I'll have to keep digging through the template files. If anyone has any suggestions I'm working with the Zen theme and trying to get my left sidebar region moved to the right side, basically.
garland...
I don't know about the zen theme, but in the Garland theme I made both sidebar blocks appear on the right side just by changing the left-siderbar class to 'float: right' in 'style.css', as suggested by proudleo.
Have you tried the 'firebug' add-on for firefox? It is an amazing realtime html/CSS editor. You load up your webpage, and can then edit the CSS; the page will reflect the changes in realtime, so you can see what you're doing. It might help.
But basically, every theme and template is different. And for that reason, you aren't going to find instructions about how to do single task in a single theme. The information available will nearly always be about how 'general theming' works in Drupal, but to actually create or edit themes there is no shortcut to learning quite a bit of html/CSS/php.
Zen is well documented
Geeksforafrica
http://drupal.org/node/193318
However why dont you just ignore the block you don't want and publish blocks only on the sidebar you want.
Administer >>block>>zen settings.
Make sure under the region you want it is none.
Have tried...
float:right; in css for the left side bar with a clear for the footer?
I was hoping to avoid that
I might have to fall back on that idea. I don't really like having right sidebar named "left sidebar" but I guess I might have to.
In my administration view I just wish there was an option for where to put your sidebar content. I don't see it in the options.
Thanks for the suggestions everybody.
You can, if you use the
You can, if you use the Panels module :)
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
I'll have to look that up.
I'll have to look that up. Thanks!
Just rename it...
Just rename it in page.tpl.php, template.php (in the regions area), and your css.
I did that with another region that I didn't like the name for...works fine.
Good point.
Good point.