Jump to content

soufiane011

Members
  • Posts

    53
  • Joined

  • Last visited

Community Answers

  1. soufiane011's post in [SOLVED] Change the background of Quick View popup/modal was marked as the answer   
    Hi thepsyntist,
    Yes you can do that by adding some code css to your product.css in the root/theme/yourTheme/css/product.css
    add this code to change background from white to black
    .test { background: rgba(0,0,0,0.1); } Note: you can add many proprities to css like color, font-size etc...
    Then you need to add you new class into the root/theme/yourTheme/product.tpl
    in the line 37 like this:
    <div itemscope itemtype="http://schema.org/Product"> <div class="primary_block row test"> {if !$content_only} <div class="container"> <div class="top-hr"></div> </div> {/if} Note: you should clear your cache
  2. soufiane011's post in Microdata Product was marked as the answer   
    Hi,
    I found solution and i added many microdata.
    add this code to your theme/product-list.tpl
    {* add by sbahjaoui*} <span itemprop="price" class="price product-price "> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)} <meta itemprop="price" content="{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}" /> {/if} {* End sbahjaoui*} or you can download the file directly
    product-list.zip
  3. soufiane011's post in Social Network on the footer near "My account" was marked as the answer   
    I found solution
    1) We need to move bloc social network aftter bloc my account from administration
    Modules-> Positions then look for displayFooter put the social after Block "MY ACCOUNTFOOTER"
    2) Remove pull-right from block social network (blocksocial.tpl)
    3) Change width from 50% to 14% of module from globla.css line7133
    .footer-container #footer #social_block { float: left; padding: 22px 15px 0; width: 14%; } 4) Remove or comment last div in blocksocial.tpl
    Change
    <div class="clearfix"></div>
    To
    {*<div class="clearfix"></div>*}
    5) Move H4 from last section in blocksocial.tpl to the top before ul
    <h4>{l s='Follow us' mod='blocksocial'}</h4>
    Like this:
    ----------Before Line 86--------------
        </ul>
        <h4>{l s='Follow us' mod='blocksocial'}</h4>
    </section>
    {*<div class="clearfix"></div>*}
    ----------After Line 26----------------
    <section id="social_block" class="footer-block col-xs-12 col-sm-2">
    <h4>{l s='Follow us' mod='blocksocial'}</h4>
        <ul>
    ------------------------------------------
    The result
     
  4. soufiane011's post in Change Hook between logo and search was marked as the answer   
    Hi again,
    Thank you so much Nemo1 and vekia, it works after block, perhaps i didn't understand vekia when he said paste it right after the <div> with search, he means last div
     
×
×
  • Create New...