Author Topic: Browse page: border or "box" for images... ?  (Read 2039 times)

JarleW

  • Beginner
  • *
  • Posts: 4
Browse page: border or "box" for images... ?
« on: March 27, 2012, 21:11:43 pm »
Hello.

I would like to have the images within a "box" or with borders like on the attached image. This "box" should be with fixed height/width
The thumbnails will always fit inside because of it's default size


[attachment cleanup by admin]

VM_Fans

  • Jr. Member
  • **
  • Posts: 251
Re: Browse page: border or "box" for images... ?
« Reply #1 on: March 28, 2012, 10:28:30 am »
Here is an example.

.browse_1 .browseProductImageContainer {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #E5E5E5;
    float: left;
    height: 118px;
    margin: 0;
    padding: 5px 0 5px 10px;
    width: 118px;
}

JarleW

  • Beginner
  • *
  • Posts: 4
Re: Browse page: border or "box" for images... ?
« Reply #2 on: March 28, 2012, 15:30:54 pm »
Thanks!
I'll try it :)

In wich file do I put this code ?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28224
  • Always on vacation
    • Jenkin Hill Internet
Re: Browse page: border or "box" for images... ?
« Reply #3 on: March 30, 2012, 15:41:49 pm »
Use Firebug to identify the file. http://forum.virtuemart.net/index.php?topic=73348.0
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.28 PHP 7.4.14