Reno.Xwork Posted March 7, 2012 Share Posted March 7, 2012 Hi guys, I'm having issues with the blockadvertisinghome module for this website. This is from the Velvet Sky theme. I've edited the following in the blockadvertisinghome.tpl file, but somehow, I just can't get the green image (newsletter) to align itself correctly on the right. FYI, this is the new line I've added to the original code in this module: <a href=" http://www.yourmailinglistprovider.com" title="{l s='Advertising' mod='blockadvertisinghome'}"><img src=" http://www.jaqztrendy.com/modules/blockadvertisinghome/advertising_custom3.jpg" alt="{l s='Advertising' mod='blockadvertisinghome'}"/></a> Thank you for your time. Reno --------------------------------------------------------- {* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.or...ses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 1.4 $ * @license http://opensource.or...ses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- MODULE Block advertising --> <div class="advertising_block_home"> <a href="{$adv_link}" title="{l s='Advertising' mod='blockadvertisinghome'}"><img src="{$image}" alt="{l s='Advertising' mod='blockadvertisinghome'}"/></a> <a href="{$adv_link2}" title="{l s='Advertising' mod='blockadvertisinghome'}"><img src="{$image2}" alt="{l s='Advertising' mod='blockadvertisinghome'}"/></a> <a href="http://www.yourmailinglistprovider.com" title="{l s='Advertising' mod='blockadvertisinghome'}"><img src="http://www.jaqztrendy.com/modules/blockadvertisinghome/advertising_custom3.jpg" alt="{l s='Advertising' mod='blockadvertisinghome'}"/></a> </div> Link to comment Share on other sites More sharing options...
CartExpert.net Posted March 9, 2012 Share Posted March 9, 2012 Hello, this can be easily solved with css. First the div with class 'advertising_block_home' is too small in width. You can remove the width completely. Second: you should remove the margin right of the last <a> tag within the div. 1 Link to comment Share on other sites More sharing options...
Reno.Xwork Posted March 10, 2012 Author Share Posted March 10, 2012 Hi, Thank you. I tried your suggestion and yes - it worked! I see you're kinda active here, and resolving issues for most of the postings in this forum. I've already bookmarked your Cart Expert site for future reference. Cheers! Link to comment Share on other sites More sharing options...
CartExpert.net Posted March 10, 2012 Share Posted March 10, 2012 Hi, Thank you, you are very kind. We are happy we could help you. Kind regards. 1 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