Joomla 2.5 Tutorial – How to Permanently Hide the Right column in Beez_20

This tip is provided by Bradh who was responding to my post here about “How to Remove the Collapsible Column – Close/Open Info” in Beez_20. It’s very helpful if you have no modules assigned to the right side of your template yet the right column still shows. I’ve seen a couple forums where this problem was happening.
Here is an Overview of How to Always Hide the Right Column – Position-6, Position-8, Position-3. You can view the Beez_20 template map here.
- Customize Template in Template Manager
- Edit the Template Master File in Template Manager
- Add code to hide the Right Column

1. Customize Template in Template Manager
- Login to your Joomla 2.5 Administrator backend
- Click on Extensions, Template Manager
- Switch to the ‘Templates’ tab
2. Edit the Template Master File in Template Manager

- In the Templates Manager: Templates
- Scroll down and click on ‘Beez_20 Details and Files’
- Under Template Master Files, Click on ‘Edit main Page templates’

3. Add code to hide the Right Column
In the “Template Manager: Edit”, Editing file “index.php” in template “beez_20″:
- Search for the following code:
[code]$showleft = ($this->countModules(‘position-4’) or $this->countModules(‘position-7’) or $this->countModules(‘position-5’));[/code]
- Add this code below it:
[code]// Added Feb 24, 2012 by Elaine CmsMind.com to Always hide the right column – position 6,8,3
$showRightColumn = 0;[/code]
- Your code should look like the screenshot below:

- Click on ‘Save & Close’
Now refresh your Joomla 2.5 website and your right column should always be hidden / closed. If you have any questions, you can email or leave a comment.
Thanks,
Wow, and to leave collapsable position-4 modules opened ?
thanks
Dario
Hi Dario,
If you want the collapsible positions visible in Joomla 2.5 and remove the “close/open” option on the right side, you can follow my post here.
How to Remove the “Close Info” / “Open Info” in Beez_20
Thanks for your visit,
elaine
Pretty cool, how about removing the left coumn, pos 5 and 7? 🙂
Great tutorials btw!
Greetz,
Vin
Hi all
I’m thinking about the same thing. Is there a solution for positions on the left (e.g. position-7)?
Thanks
Hello,
I am in need of some minor help and I would be willing to pay you if you could help me for what I need ASAP, I have most of the site setup already which is joomla 2.5 and using the Beez_20 template which I have modififed a bit, but what I need is , to make the content area 100% to re-size with any browser and also have a different background in the content area for different pages,
Please let me know if this is something that you can do or help me with, I’m desperate and need to do this as soon as possible, Thank you so much for any help or direction
Hi Elaine and Rolando,
I also have same requirement with Rolando. I have followed Elaine’s code as above but it did not work.
Is there any other advice?
Thank you,
Yes I have the same problem i would like to keep the left and right banner but make them smaler. can you help please.
I must be missing something here, why would you want to “Permanently Hide the Right column”
just don’t put anything in those module positions
Doesn’t that just limit your options?
Hi Jerry,
It’s just a tutorial on how to hide the right column. Some people want that side hidden because they don’t use the right side. In some cases the right column still shows up.
Thanks for your visit!
elaine
Hi Elaine,
My Problem is Right side module appear in below. I am using joomla 2.5 Beez5 template. When i set custom module in top right position, it was ok. but after some modification right side appear in below.
and Right side shows as blank. What is the solution of this problem , please help me asap.
Q1: I would like modules in positions 3 to appear bellow the modules in the left column (Beez20, J2.5). I tried to change my index.php page, but I have failed.
Q2: Is there any simple solution to change the order of the positions of the modules in the left column?
thanks
Hi Elaine,
Is there a way to make the main text area wider? I think it’s position 12. I want the text evenly distributed across the page. Right now it looks like there is an invisible block or something on the right side that stops the text from spreading out. In the “Pastor,” and “About Us” tabs.