benknackan Posted September 30, 2011 Share Posted September 30, 2011 So I need to add a copyright note in the footer, and I'll also want to center the footer. And I have problems with IE breaking stuff badly, footer line is in the middle of site and logo comes above my account and search button... My site is at: www.blingskal.com Also when using chrome and i have chrome not full sized it don't scale properly so the background come into the site so to say. Oh I'm using 1.4.4.1 if that matters... Any help sheded on these problem would be great. Any other feedback on the site would be more then welcome too, thx! Link to comment Share on other sites More sharing options...
maconl Posted September 30, 2011 Share Posted September 30, 2011 hi will check the header later , for the footer : go to themes - your theme - look for footer.tpl - open this look for <!-- Footer --> <div id="footer">{$HOOK_FOOTER}</div> </div> {/if} just put <center> for the first line and </center> after the last line .. like : <center><div id="footer">{$HOOK_FOOTER}</div></center> about your copyright . just place it in the same tpl abouve the follow like <center> copyright </center </body> </html> hope it helps for you Link to comment Share on other sites More sharing options...
benknackan Posted September 30, 2011 Author Share Posted September 30, 2011 I don't get neither to work, so this is the code that i use. Thx for helping though! <!-- Footer --> <center><div id="footer">{$HOOK_FOOTER} </div></center> <center> copyright 2011 blingskal.com </center </body> </html> </div> {/if} </body> </html> Link to comment Share on other sites More sharing options...
maconl Posted September 30, 2011 Share Posted September 30, 2011 hi if this is the text then it is wrong ,, it must be : <!-- Footer --> <center> <div id="footer">{$HOOK_FOOTER} </div> </center> </div> {/if} <br> <center> copyright 2011 blingskal.com </center> <br> </body> </html> and if you use PS 1.4 you have to compile first before you see any changes Remember abouve must be done in your thema Link to comment Share on other sites More sharing options...
benknackan Posted September 30, 2011 Author Share Posted September 30, 2011 Thx got it working! So just problem with IE now, also I'd like to remove the more detail button when u're looking at a product Link to comment Share on other sites More sharing options...
maconl Posted September 30, 2011 Share Posted September 30, 2011 Youre welcome So just problem with IE now, also I'd like to remove the more detail button when u're looking at a product Will check , can you post an image of the situation ? tnx Link to comment Share on other sites More sharing options...
benknackan Posted September 30, 2011 Author Share Posted September 30, 2011 See attached And ty so much yet again, really was the last piece that I felt totally necesary to fix. Now it's just a few beautie errors left ! Link to comment Share on other sites More sharing options...
maconl Posted October 1, 2011 Share Posted October 1, 2011 Hi Benknackan, y/w and i'm glad i could help you ok for this one : look in your theme for product.tpl find : <div id="short_description_block"> delete these lines: {if $product->description_short} <div id="short_description_content" class="rte align_justify">{$product->description_short}</div> {/if} Don't forget to compile after changes again ok Marks : i couldn't test it yet , so make a copy of the original before you update the page what i do is always : i copy the file from my server to my computer and before i place the file back i rename on my server the name of the file like as sample : in this case : original-product.tpl if it doesn't work it is easy to put the original back with just rename the file on the server again in product.tpl Link to comment Share on other sites More sharing options...
benknackan Posted October 1, 2011 Author Share Posted October 1, 2011 Thx ! Got rid of the button too now! (With removing code after the line u said, pointing out were too look though!) Thx so much again. So now only problem with IE left... TY sp very much yet agaiN! Link to comment Share on other sites More sharing options...
maconl Posted October 1, 2011 Share Posted October 1, 2011 Hi , great :-) indeed i see now i forgot the next line to add 06:33 AM was probably to early for me can you maybe give the code from your header.tpl you can find it in the same folder as product.tpl from your theme and place it here as code ? will check the code for you but will only be this evening cause house duty calls also Link to comment Share on other sites More sharing options...
benknackan Posted October 1, 2011 Author Share Posted October 1, 2011 Sure here u go <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" /> <script type="text/javascript"> var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; </script> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} {if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach} {/if} {$HOOK_HEADER} </head> <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> {if !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode} <div id="restricted-country"> <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p> </div> {/if} <div id="page"> <!-- Header --> <div id="header"> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> <div id="header_right"> {$HOOK_TOP} </div> </div> <div id="columns"> <!-- Left --> <div id="left_column" class="column"> {$HOOK_LEFT_COLUMN} </div> <!-- Center --> <div id="center_column"> {/if} Link to comment Share on other sites More sharing options...
maconl Posted October 1, 2011 Share Posted October 1, 2011 Hi benknackan i think i was a bit to fast with header.tpl but will check this one this evening or tomorrow morning ok can you show maybe also the css blocksearch file you can find it in : themes - your theme - css modules - blocksearch so i can check this one also thanks Link to comment Share on other sites More sharing options...
benknackan Posted October 1, 2011 Author Share Posted October 1, 2011 Np I'm just so glad for any help I get ! Heres a copy of the blocksearch. /* block top search */ #header_right #search_block_top { float: right; background: #e5e6e7 url('../../../img/block_search_bg.jpg') no-repeat top right; margin-bottom: 11px; width: 336px; height: 28px } #header_right #search_block_top p { padding: 0.4em 0 0.4em 1em } #header_right #search_block_top label, #header_right #search_block_top input { float: left } #header_right #search_block_top label { background: transparent url('../../../img/icon/search.gif') no-repeat 0 2px; float: left; width: 19px; height: 18px; display: block } #header_right #search_block_top input.search_query { width: 12em } /* block left column "Quick search" */ #search_block_left input { margin: 2px 0 0 0 } #search_block_left .search_query { width: 11em } #search_button { display: inline } Link to comment Share on other sites More sharing options...
maconl Posted October 1, 2011 Share Posted October 1, 2011 sofar i see both files are ok ,and must be ok for IE just a check to see where we can look more... if you use the original standard theme from PS is it then the same problem in IE or is is it ok ,, like in firefox ? if you could check this , it would help me to look somewhere else i did also check the problem you said with google chrome , but no matter how small or what i do the scale is ok , no background in your site or something else .. Link to comment Share on other sites More sharing options...
benknackan Posted October 1, 2011 Author Share Posted October 1, 2011 Actually when using original theme it's as described earlier. But now with my theme the footer doesnt break, it's just the search button and account stuff that get placed way too low. And in chrome it breaks the centering of background... Or is it just me? Anyhow attached images on how it looks for me and marked what's wrong Link to comment Share on other sites More sharing options...
benknackan Posted October 2, 2011 Author Share Posted October 2, 2011 Also how can i make the foreground of my background scroll while keeping the background fixed? Link to comment Share on other sites More sharing options...
rokasv Posted January 21, 2012 Share Posted January 21, 2012 For me footer line (border-top) hanging in the middle of page in Internet Explorer was solved, after i specified a height of a footer in global.css: /* Footer */ #footer { height: 30px; 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