Joomla · Joomla 2.5 · Joomla Tutorials

Joomla 2.5 – How to Always Hide the Right Column in Beez_20

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

Joomla 2.5 - Template Manager
1. Joomla 2.5 - Template Manager

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.

Joomla 2.5 Change to the Templates Tab
1. Joomla 2.5 Change to the Templates Tab

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

Joomla 2.5 Edit Beez_20 Details & Files
2. Joomla 2.5 Edit Beez_20 Details & Files
  • 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’
Joomla 2.5 Edit Template Page Template HTML
2. Joomla 2.5 Edit Template Page Template HTML

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 to Always hide the right column – position 6,8,3
$showRightColumn = 0;[/code]

  • Your code should look like the screenshot below:
Joomla 2.5 - Always hide right column in Beez20
3. Joomla 2.5 - Always hide right column in Beez20
  •  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.



12 thoughts on “Joomla 2.5 – How to Always Hide the Right Column in Beez_20

    1. Hi all
      I’m thinking about the same thing. Is there a solution for positions on the left (e.g. position-7)?


  1. 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

    1. 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,

      1. Yes I have the same problem i would like to keep the left and right banner but make them smaler. can you help please.

  2. 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?

    1. 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!

  3. 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.

  4. 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?


  5. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Captcha Reload