Shape 5

Joomla Templates => Magnum Opus - December 07 - Club => : redrat March 01, 2009, 11:48:39 AM



: How to remove cPanel background bars
: redrat March 01, 2009, 11:48:39 AM
Hi. I need to remove completely the cPanel background bars so that they do not extend from the site container cPanel area into the background. I cannot find how to achieve this in the /template_css.css file and wonder if this is even the right file to be looking at in order to make this change.

Any help would be appreciated.


: Re: How to remove cPanel background bars
: mikek March 01, 2009, 12:00:00 PM
Hello, please post a url and mention the specific lines that you want removed.


: Re: How to remove cPanel background bars
: redrat March 01, 2009, 12:20:56 PM
Hi Mike and thanks for the quick response. The URL is http://advancedhomeinspection.co.uk (http://advancedhomeinspection.co.uk). You will see that there is a silver bar that extends into the background on either side of the central site container and that is what I wish to remove. I don't know where the relevant code is to be found which is my actual problem. Hope that makes sense.


: Re: How to remove cPanel background bars
: mikek March 01, 2009, 02:32:18 PM
Hi, because of the layout you can't remove the lines but you can remove the entire cpanel div by adding the following to the bottom of your template_css.css file:

#s5_cpanel {
display:none;
}


: Re: How to remove cPanel background bars
: redrat March 01, 2009, 03:33:44 PM
Hi Mike. I just tried that and, sure enough, it removes the whole cPanel from the main site container. However the right and left bars remain and it looks ridiculous really. Please have a look.

However, the effect I was hoping to achieve is the other way around. That is to leave the centre cPanel area as I think the layout needs it and I also have a use in mind for it. Then it is the external right and left silver background bars that I want to remove. Are you saying this is just possible? Aren't they created independently of each other?

Regards.


: Re: How to remove cPanel background bars
: redrat March 02, 2009, 05:41:59 AM
I hope I'm not out of line posting again about this issue but would like to get it resolved.

It seems to my mind that the background silver stripe I am trying to remove should be easily removable. Some piece of code is surely putting it there so, using that logic, is it not a matter of changing that code to something else so that it merges with the rest of the background?

Perhaps I am missing something here but I do need to remove it and cannot see how it is created. I would still appreciate more help with this.

My thanks.


: Re: How to remove cPanel background bars
: mikek March 02, 2009, 08:09:51 AM
The cpanel area is made up of opaque pngs that show through to the background of the page, so it will always show the same color. The only way around that to give the two sections different colors is to edit the image:

/templates/magnumopus/images/s5_bar_gloss.png

This image makes up the gloss on the cpanel area while letting the silver from the background of the page shine through. If you make the bottom section (where the gloss is) a solid color you can obtain a different color for the cpanel area.

Other than hiding the cpanel area there is no other way to accomplish this.


: Re: How to remove cPanel background bars
: redrat March 02, 2009, 08:22:26 AM
Hmmmmmmm. OK. Well thanks for your reply. That's a bit of a pity really but I guess I'll just have to live with it. Thanks for your replies and clarifying this for me.