Pengus Posted August 3, 2013 Share Posted August 3, 2013 (edited) I am using one of the free leothemes, though i don't think it has much to do with this problem. As you can see the cart summary page is on the right hand side, as well as the product details page etc.. In what file can I edit the alignment? EDIT: I have already made sure that there is no modules active and taking up space on the left side, visible or not. Thanks Edited August 3, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 3, 2013 Share Posted August 3, 2013 hello image that you attached doesnt work Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 3, 2013 Share Posted August 3, 2013 is it in the order page? u need to add this on global.css body#order #center_column {width:URWISHpx;margin-left:wishpx; or margin-left:urwishpx;} body#order #right_column,#left_column {display:none;} Link to comment Share on other sites More sharing options...
Pengus Posted August 3, 2013 Author Share Posted August 3, 2013 (edited) hello image that you attached doesnt work Oh, here it is is it in the order page? u need to add this on global.css body#order #center_column {width:URWISHpx;margin-left:wishpx; or margin-left:urwishpx;} body#order #right_column,#left_column {display:none;} Anywhere in the global.css? You can check the image i linked to in this post Edited August 3, 2013 by Pengus (see edit history) Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 3, 2013 Share Posted August 3, 2013 its leo shoes theme plz give site ur will fix exactly the way u want Link to comment Share on other sites More sharing options...
vekia Posted August 3, 2013 Share Posted August 3, 2013 i suppose that there is empty left column. you want to remove it? Link to comment Share on other sites More sharing options...
Pengus Posted August 3, 2013 Author Share Posted August 3, 2013 i suppose that there is empty left column. you want to remove it? Yes very much so, i don't need the left column for anything Link to comment Share on other sites More sharing options...
PascalVG Posted August 3, 2013 Share Posted August 3, 2013 (edited) Hi Pengus, Althouh you use a special theme, probably it works very similar to the default theme. If so: Edit file themes/<your leo theme folder>/header.php (Thanks Vekia!) Edit file themes/<your leo theme folder>/header.tpl Somewhere in the code you will probably see some code similar to this: <!-- Left --> <div id="left_column" class="column grid_2 alpha"> {$HOOK_LEFT_COLUMN} </div> N.B. Easy to find with CTRL-F/Command-F in the browser and look for the word HOOK_LEFT_COLUMN ) and you will see it. If found, comment out with this {* piece of code *} save file and reload page (maybe you need to (TEMPORARILY!) turn off cache and force recompilation in Advanced Parameters->Performance to see the changes. See if it works, pascal EDIT: In above text, please change header.php into header.tpl to get the correct file. (Thanks Vekia!) Edited August 15, 2013 by PascalVG Added comment about php->tpl (see edit history) Link to comment Share on other sites More sharing options...
Pengus Posted August 3, 2013 Author Share Posted August 3, 2013 Hi Pengus, Althouh you use a special theme, probably it works very similar to the default theme. If so: Edit file themes/<your leo theme folder>/header.php Somewhere in the code you will probably see some code similar to this: <!-- Left --> <div id="left_column" class="column grid_2 alpha"> {$HOOK_LEFT_COLUMN} </div> N.B. Easy to find with CTRL-F/Command-F in the browser and look for the word HOOK_LEFT_COLUMN ) and you will see it. If found, comment out with this {* piece of code *} save file and reload page (maybe you need to (TEMPORARILY!) turn off cache and force recompilation in Advanced Parameters->Performance to see the changes. See if it works, pascal It worked! Thanks man, great job! Link to comment Share on other sites More sharing options...
vekia Posted August 3, 2013 Share Posted August 3, 2013 im going to mark this topic as [solved] best regards Link to comment Share on other sites More sharing options...
balutten Posted August 9, 2013 Share Posted August 9, 2013 Hey i got this problem too... But i cant find the php file? all my files is tpl in the theme folder? Plz help Link to comment Share on other sites More sharing options...
PascalVG Posted August 10, 2013 Share Posted August 10, 2013 (edited) Hi balutten, You should have a file header.php in the themes/<your theme folder>/ directory (e.g. themes/default/header.php) if it isn't there, try to locate it in the shop root folder Hope this helps, pascal If you really can't find it, it always handy to make a 'local backup/copy' of your shop files. This helps in locating text, files etc. Just use the (Windows?) search option and look for a file header.php, starting your search at the shop root. My 2 cents Edited August 10, 2013 by PascalVG (see edit history) Link to comment Share on other sites More sharing options...
balutten Posted August 11, 2013 Share Posted August 11, 2013 Thx. Well it isnt there. I found another header.php as you said but not in the theme folder. There wasnt really anything in it (this was all that was in it): And this is my theme folder: Link to comment Share on other sites More sharing options...
vekia Posted August 12, 2013 Share Posted August 12, 2013 hello there is a little mistake above, i suppose that Pascal wanted to say that you have to open .tpl file, not .php 1 Link to comment Share on other sites More sharing options...
PascalVG Posted August 13, 2013 Share Posted August 13, 2013 OUCH!! Vekia, you're right!!! My stupidity! I' really shouldn't do this at 2-3 AM anymore... ( Sorry, balutten for the waste of time and confusion :[[ So, we have to go back to a few posts above, change header.php into header.tpl ! thanks again, Vekia. You're the man! :-) Link to comment Share on other sites More sharing options...
vekia Posted August 13, 2013 Share Posted August 13, 2013 no worries Pascal, i know something about posting here at 2-3 AM anwyway, @balutten let us know if Pascal's solution works for you Link to comment Share on other sites More sharing options...
balutten Posted August 14, 2013 Share Posted August 14, 2013 Thx for the help! I found the file, but cant really find the place that you talk about: I have found something similar(is it here): Link to comment Share on other sites More sharing options...
PascalVG Posted August 15, 2013 Share Posted August 15, 2013 Hi balutten, Think you found it :-) This code tells us: If not on the home page ("{if $page_name !="index"}... add the left column. So do this: add the red code {* piece of code *} below to comment it out (i.e. will not be shown anymore): ... <div class="row-fluid"> {* {if $page_name != "index" } <div id="leo-leftcol" class="span3"> { $HOOK_LEFT_COLUMN} </div> <!--leftcol--> {/if} *} <!-- center --> ... This should do the trick, pascal Link to comment Share on other sites More sharing options...
balutten Posted August 16, 2013 Share Posted August 16, 2013 Thx ALOT! It worked! Well if you ever comes to denmark, i will bye you a beer! Link to comment Share on other sites More sharing options...
balutten Posted August 16, 2013 Share Posted August 16, 2013 (edited) Can i remove the right column too? i want the site to be in the center? Edited August 16, 2013 by balutten (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now