Home Forums Aside WordPress Theme Single Product Image Display Reply To: Single Product Image Display



Hello again

My client has asked me to change the position of the navigation arrows on the lightbox, and also to start it maximised by default.

Investigating this I can see in the Lightbox Evolution documentation I need to add “lightbox[maximized]=true” after the url to the file.

so updating line 14 in the last file you provided:

<a data-rel="<?php the_ID(); ?>" href="<?php echo wp_get_attachment_url(get_post_thumbnail_id(get_the_ID(), 'full')); ?>?lightbox[maximized]=true" class="lightbox"><?php echo get_the_post_thumbnail(get_the_ID(), 'image-thumb-1', array('class' => 'product-slider-image')); ?></a>

Is this correct?

Also I see the lightbox offers several themes, we would prefer to use the “evolution” theme, but I am not sure how to change this in your theme.

Please advise