Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • pepijn2015 Friend
    #835219

    Hello there,

    I have started today with building a website. I have installed the quickstart without data and add one product and one category. If I test with a html validator then I receive the below message (border absolete). Is it easily to solve it? Is it a Joomla/ Virtuemart problem?

    Thanks Pepijn

    The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead.
    From line 351, column 131; to line 351, column 265
    gn stoel"><img src="/images/stories/virtuemart/product/resized/culembourg1_0x90.jpg" alt="culembourg1" class="featuredProductImage" border="0" /></

    Pankaj Sharma Moderator
    #835554

    Hi some of the attribute are no more supported by HTML5. You can check it here and here You can change the style from css or custom html where u deinfed border 0 in your site .

    pepijn2015 Friend
    #836014

    Hi, I understand that it is not supported by HTML5. What I do not understand is why Virtuemart didn’t change it in the default.php. Virtuemart product module : /modules/mod_virtuemart_product/tmpl/default.php

    On line 76: $image = $product->images[0]->displayMediaThumb (‘class="featuredProductImage" border="0"’, FALSE);
    Can I change this line instead?

    Pankaj Sharma Moderator
    #836040

    Hi Kindly try to find it in /templates/ja_cagox/html/com_virtuemart , As JA Cagox comes with a theme of it . You may found it in this directory .
    Regarding edit the file in virtual mart i suggest you to ask this question to VM support team as its their component and they can suggest better about its customization .

    pepijn2015 Friend
    #836566

    Hi,

    Maybe I have to start a new post. The problem is that I have a lot of warnings and errors when I start the html validator with the quickstart Cagox. I have done nothing after the quickstart. Everytime when I add a products it will give an extra warning for the image, but it gives also other warnings. So the list will grow as soon as I start to add more.
    Regards,
    Pepijn

    Pankaj Sharma Moderator
    #837694

    Hi
    could u share your site details via Private reply and the error details u are getting . So i can check them and pass it to development team for further investigation .

    pepijn2015 Friend
    #843115
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #843555

    Hi
    Please check the files i suggested here and remove the border value (if its not coming from virtualmart component). There is an override in the template . Also you need to compare the VM version in quickstart and VM .

    pepijn2015 Friend
    #889893

    I have changed border settings and problem solved. Thanks

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

This topic contains 8 replies, has 2 voices, and was last updated by  pepijn2015 8 years, 9 months ago.

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