Jump to content

electriz

Members
  • Posts

    211
  • Joined

  • Last visited

  • Days Won

    5

Community Answers

  1. electriz's post in Display bug in a form was marked as the answer   
    Hi,
    Maybe you should assign in CSS fixed width to them?
  2. electriz's post in Zwijanie tekstu/opisów was marked as the answer   
    Edytuj product.tpl (/themes/default-bootstrap/product.tpl)
     
    Znajdź:
    <div class="rte">{$product->description}</div> Zamień na:
    <div class="rte short-desc">{$product->description|truncate:120} <p><a href="#" class="read-more">{l s='Read more'}</a></p> </div> <div class="rte full-desc" style="display:none;">{$product->description} <p><a href="#" class="read-less">{l s='Hide'}</a></p> </div> Przy czym wartość po "truncate", to ilość znaków które mają być wyświetlone w skróconym opisie (w tym przypadku 120 znaków).
     
     
    I na samym końcu pliku dodaj:
    {literal} <script> $(function() { $(".read-more").click(function(e) { e.preventDefault(); $(".full-desc").fadeIn(); $(".short-desc").hide(); }); $(".read-less").click(function(e) { e.preventDefault(); $(".full-desc").hide(); $(".short-desc").fadeIn(); }); }); </script> {/literal}
  3. electriz's post in How to position logo and menu bar on the same horizontal location 1.6.0.14 default-Bootstrap was marked as the answer   
    Play with the margin-top attribute.
     
    For example, add this code to the block top menu div.
     
    Path: /prestashop/themes/default-bootstrap/css/modules/blocktopmenu/css/blocktopmenu.css
    #block_top_menu { margin-top: -50px; }
  4. electriz's post in Help altering Spanish translation of Cash on Delivery module. was marked as the answer   
    Do not translate by editing language file.
     
    Always do it in backoffice Localization > Translations.
     
    Go once again to Installed modules transaltions and find
    default-bootstrap - payment 
    under Module cashondelivery
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More