- April 8, 2017 at 1:33 pm #15980gruis28Participant
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 youApril 9, 2017 at 2:51 am #15995acmesupportsModerator
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.
- You must be logged in to reply to this topic.