Widget Portfolio Lightbox - Acme Themes

Best Premium and Free WordPress Themes Forums Mercantile Widget Portfolio Lightbox

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15980
    gruis28
    Participant

    Use the portfolio of the theme widget
    and it is very easy to set up and use

    I wanted to change it to display directly
    the image in a lightbox and not opening the post.

    I installed the plugin dFactory Lighbox

    I opened the file in acme-portfolio.php

    wp-content / themes / mercantile.2.0.1 / acmethemes / sidebar-widget

    and I added the code data-rel=”lightbox”

    <div class="portfolio-item <?php echo esc_attr( $mercantile_column ); ?>">
          <div class="portfolio-inner-item <?php echo esc_attr( $animation1 );?>">
                <div class="at-middle">
                <a href="<?php the_permalink();?>" data-rel="lightbox" class="round-icon"><i class="fa fa-link" aria-hidden="true"></i></a>
                <h3>
                <a title="<?php the_title_attribute(); ?>" href="<?php the_permalink(); ?>" data-rel="lightbox">
                <?php the_title(); ?>
                </a>
                </h3>
                </div>

    but it does not work
    can you suggest any changes

    thank you

    • This topic was modified 7 years, 2 months ago by gruis28.
    • This topic was modified 7 years, 2 months ago by gruis28.
    • This topic was modified 7 years, 2 months ago by gruis28.
    #15995
    acmethemes
    Keymaster

    Hello gruis28,
    Thank you so much for using our theme Mercantile.
    If you want to customize the theme, you need to hire the developer. We recommend you to use the theme default features because it is developed with experience developer. If you need the functionality of the site, please contact with the customizer.

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.