roura Posted November 11, 2013 Share Posted November 11, 2013 Hi We have an odd problem and I'm sure it is easily fixed. On our website at www.weddingswarehouse.co.uk if you select a product and go to the main product page the product is appearing in the wrong place - it is below the left column instead of next to it. All other pages work fine - but we cannot get the product page to display where it should be. Please help... Nathan Link to comment Share on other sites More sharing options...
vekia Posted November 11, 2013 Share Posted November 11, 2013 open header.tpl located in your theme file you've got there definition of center column: <div id="center_column" class="grid_18"> to the class param add options: alhpa omega effect: Link to comment Share on other sites More sharing options...
roura Posted November 12, 2013 Author Share Posted November 12, 2013 Hi Vekia Thanks! This is strange - when I view the page source i can see this: <!-- Center --> <div id="center_column" class=" grid_18"> But when I go to edit the header.tpl I can not find it. Instead I can see this: <!-- Center --> {if $page_name == 'index'} <div id="center_column" class="{if isset($settings)} {if $page_name == 'index'}{$settings->center_class_home} {else}{$settings->center_class}{/if} {else} grid_24 omega alpha{/if}"> {else} <div id="center_column" class="{if isset($settings)} {$settings->center_class}{else} grid_20 omega{/if}"> {/if} {/if} I guess i am doing something wrong? Nathan Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2013 Share Posted November 12, 2013 here it is: <div id="center_column" class="{if isset($settings)} {if $page_name == 'index'}{$settings->center_class_home} {else}{$settings->center_class}{/if} {else} grid_24 omega alpha{/if}"> probably this varialble: {$settings->center_class} Link to comment Share on other sites More sharing options...
roura Posted November 12, 2013 Author Share Posted November 12, 2013 Any suggestions on how/where to change this variable? Sorry if this is quite basic? regards Nathan Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2013 Share Posted November 12, 2013 for the first you must check what you've got in this variable. please use this code: <div id="center_column" class="{if isset($settings)} {if $page_name == 'index'}{$settings->center_class_home} {else}{$settings->center_class}{/if} {else} grid_24 omega alpha{/if}">{$settings->center_class} then in center column you will see number, probably 18, but to be sure, you have to use code above. Link to comment Share on other sites More sharing options...
roura Posted November 12, 2013 Author Share Posted November 12, 2013 Hi - how do I find this variable? Driving me nuts Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2013 Share Posted November 12, 2013 for what purposes you want to find it? have you added code that i suggested to use? Link to comment Share on other sites More sharing options...
roura Posted November 12, 2013 Author Share Posted November 12, 2013 Hi I put in the code... it doesn't fix it - but when i do view source on html I get this: <!-- Center --> <div id="center_column" class=" grid_18 ">grid_18 Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2013 Share Posted November 12, 2013 as i said before this is not fix, this is first step, i just wanted to be sure that this is grid_18. conclusion: yes this is what we are looking for. now use this code: <div id="center_column" class="{if isset($settings)} {if $page_name == 'index'}{$settings->center_class_home} {else}{$settings->center_class} omega alpha{/if} {else} grid_24 omega alpha{/if}"> will help, definitely. Link to comment Share on other sites More sharing options...
roura Posted November 13, 2013 Author Share Posted November 13, 2013 Thank you. It worked This is good as I have 3 more Prestashop sites going live with the same problem, I'm not sure why it 'suddenly' stopped working - do you think it is a fault in the theme? I can see one more problem with it - shall I send a new request? The problem is some of the "products in the same category" images are showing too big. Here is an example: "http://www.weddingswarehouse.co.uk/ball-candles/1327-80mm-metallic-silver-ball-candle.html But here it is fine: http://www.weddingswarehouse.co.uk/dinner-taper-candles/1331-ivory-rustic-dinner-candles-180x20-mm-pack-20.html I have tried regenerating images but it doesn't fix it. Anyway thank you for your help - the formatting was really annoying me! Link to comment Share on other sites More sharing options...
roura Posted November 13, 2013 Author Share Posted November 13, 2013 Hi I think another problem has been generated. The top horizontal menu does not work on the product pages - it works on home page and all other pages but nothing on the horizontal menu works on product pages. I have reset/reinstalled the menu. Link to comment Share on other sites More sharing options...
vekia Posted November 13, 2013 Share Posted November 13, 2013 hello the problem isn't related to this modification. the problem is related to java script parse error it's a part of your quick view module (feature) Link to comment Share on other sites More sharing options...
roura Posted November 13, 2013 Author Share Posted November 13, 2013 Thanks! I disabled it for now and it fixes the fault. This is a workable for me as we don't 'need' the quick view. I appreciate your help for the last few days! Link to comment Share on other sites More sharing options...
vekia Posted November 13, 2013 Share Posted November 13, 2013 you're welcome i marked this topic as solved but if you will need any additional assistance related to this case - please continue discussion if you need another help, just create new topics, i can assure you that i will definitely try to help btw. Welcome on board! 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