test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • ger12 Friend
    #187310

    Hi,

    I have 4 product into virtuemart module position (last product) and i need to show align in center.

    Thanks in advance.

    Saguaros Moderator
    #492051

    Hi ger12,

    By default, it’s aligned to center, you can check in css file: /templates/ja_template_name/css/virtuemart.css

    at approx line 800:


    div.vmgroup ul.vmproduct li a.product-name {
    font-weight: bold;
    text-align: center;
    }

    Regards

    ger12 Friend
    #492129

    I dont have any problem using mi picture in horizontal view bu vertical show unaligned.

    there is some code to align, regardless if the image is upright or horizontally?

    Thanks.

    Saguaros Moderator
    #492158

    Hi,

    Could you post url pf page where problem can be seen here?

    ger12 Friend
    #492249
    Saguaros Moderator
    #492311

    Hi ger12,

    The product name is aligned center, the problem comes from the image. Try opening file: /templates/ja_template_name/css/virtuemart.css


    div.vmgroup ul.vmproduct li a img {
    border-image: url("../images/border-hoz.png") 3 3 3 3 repeat repeat;
    border-width: 3px;
    padding: 7px !important;
    }

    change it to


    div.vmgroup ul.vmproduct li a img {
    border-image: url("../images/border-hoz.png") 3 3 3 3 repeat repeat;
    border-width: 3px;
    display: block;
    margin: 0 auto;
    padding: 7px !important;
    }

    Then clean cache.

    regards

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

This topic contains 6 replies, has 2 voices, and was last updated by  Saguaros 11 years, 7 months ago.

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