Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • johanrn Friend
    #127783

    Hi!
    I have a problem with the browse page of Virtuemart. I´m using JA Larix as template for my site, and the browsepage is of course then called ja_vm_cat_browse.php

    I would like to add a border around each product image on my browse page. However, this seems to be easier said than done. When looking at the code of ja_vm_cat_browse.php I see the following string of code:

    <div style=”float:left;width:100%” class=”clearfix”>
    <a href=”{product_flypage}” title=”{product_name}”>
    <img src=”{product_thumb_image}” {image_height} {image_width} border=”0″ alt=”{product_name}” align=”left” style=”margin-right: 5px;” />
    </a><strong>
    </div>

    Now, I understand that “border=”0″ refers to the border around the images. If I change this to border=”1” nothing changes. Still no border. How do I add colour to this border and how do I make it visible?

    I´m really looking forward to your answers! Thanks!!

    Sherlock Friend
    #246506

    Hi johanrn !
    then you edit border=”0″ to border=”1″ you open template_css.css file in templates/ja_larix/css folder find following code at about line 146:


    a img {
    border:medium none;
    }

    change it to :


    a img {
    }

    for add color for border you can change “border=”1″” to “style=”border:1px solid red; “”;
    good luck !

    johanrn Friend
    #246532

    Thank you so much hainn84!! You have saved my day!
    Thanks!!! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  johanrn 16 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum