Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • librandi Friend
    #955823

    hi.
    how I do put off the link to article from image od product layout?


    1. Cattura
    Pankaj Sharma Moderator
    #955941

    Hi
    On product layouts the images are already using the links of the articles .
    Could u check this part again : http://uber.demo.joomlart.com/index.php/template/fashion

    librandi Friend
    #955963

    is it impossible to remove this link?

    Pankaj Sharma Moderator
    #956003

    Hi
    you screenshot are very different then demo site , it would be great if you post the page url here, i will help you to remove the links from images .

    librandi Friend
    #956007
    Pankaj Sharma Moderator
    #956054

    Hi
    You site is offline , kindly check and provide all details .

    librandi Friend
    #956063
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #956199

    Hi Go to templates/uber/html/mod_articles_category/swiper.php Find

    
                <a class="article-img" href="<?php echo $item->link; ?>">
                <div style="background-image: url(<?php echo htmlspecialchars($images->image_intro); ?>);"></div>
                </a>

    replace it with

    
                <div class="article-img" >
                <div style="background-image: url(<?php echo htmlspecialchars($images->image_intro); ?>);"></div>
                </div>
    librandi Friend
    #967869

    thank you now I need urgently of this modify but it doesn’t work, I follow your suggest, help me please

    Pankaj Sharma Moderator
    #967885

    Hi
    Go to /html/com_content/category/products_item.php" in template "uber".
    Find

    
            <?php echo JLayoutHelper::render('joomla.content.product_image', array('images'=>$this->item->images, 'params'=>$this->item->params, 'url'=>$link )); ?>

    replace it with

            <?php echo JLayoutHelper::render('joomla.content.product_image', array('images'=>$this->item->images, 'params'=>$this->item->params )); ?>

    make sure removing the href will also remove the default style of items and images may not be same as it was before .

    librandi Friend
    #967915

    thanks now it works but the problem remain in image, I can solve it and put of only the link?

    Pankaj Sharma Moderator
    #967918

    Hi
    You will not get the same style since the style is not work after changes .
    You can add below code in custom.css file to make it good

    .swiper-slide .item .article-img  {
        display: block;
        width: 100%;
        height: 260px;
        overflow: hidden;
    
        -webkit-transition: all 3.5s linear 0.4s;
        -o-transition: all 3.5s linear 0.4s;
        transition: all 3.5s linear 0.4s;
    }
    
Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 11 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 2 months ago.

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