Author Topic: How can i add a box around the products in product scroller?  (Read 3971 times)

vijayraj98

  • Beginner
  • *
  • Posts: 21
Hi,

How can i add a box around the products in product scroller? Can someone help? Does  anyone know what file i need to edit.

Thanks
VJ

Graphic 3

  • Jr. Member
  • **
  • Posts: 203
    • Graphic 3
Re: How can i add a box around the products in product scroller?
« Reply #1 on: May 26, 2008, 07:21:16 am »
hey man.. its a module so you will need to go into your modules folder and then the mod_productscroller  and insert some div tags


First in your template's css file add

.ps-box{
width:120px;
height:150px;
display:block;
background:red;
}

then in the folder mod_productscroller   -> mod_productscroller.php

add <div class="ps-box">  around the code that starts with
Code: [Select]
echo " <div style=\"width:".$this->ScrollWidth."px;text-align:".$this->ScrollAlign.";\">
in that file.. you can try that .. you will have to play w/ it some
iPhone, Droid and Blackberry App downloads and reviews
http://www.app-talk.com

vijayraj98

  • Beginner
  • *
  • Posts: 21
Re: How can i add a box around the products in product scroller?
« Reply #2 on: May 26, 2008, 07:34:51 am »
Thanks Mate,
Will try it and see if it works.