Elxis CMS Forum
Extensions => Templates => Topic started by: marbaz on August 23, 2012, 21:41:27
-
Hi all,
Using philoxenia template..
I need to show on 1 page the template without right and left column (so 100% width) because i use a wrapper which needs the full width on that page.
I had the Idea to copy the template and rename it and change the copied template (remove left and right column in the layout.css) and than simply assign the edited template to the page.
But no effort yet, can anyone tell me how and where i can remove the left and right column in philoxenia template ? (CSS od HTML?)
Many thanks!
-
You can do that by editing the xenia.class.php file under templates/philoxenia/includes/ directory. In case that you are interested, provide me access (FTP + administrator) to your website via Private Message.
-
Send you a PM..
Thanks
-
... solved.
I attach you the piece of code that added.
if ($option == 'com_wrapper') {
$this->css[] = '#xenia_mainwrapper { width: 970px; }';
$this->css[] = '#sitecontent { width: 970px; }';
$this->css[] = '#leftcolumn { display: none; width: 0; }';
$this->css[] = '#rightcolumn { display: none; width: 0; }';
}
There is no need to copy philoxenia template. ;)
-
Great!
Many thanks!
-
You are welcome, marbaz.