Title: Custom code to replace product lightbox result
Last modified: June 12, 2021

---

# Custom code to replace product lightbox result

 *  [teamchorley](https://wordpress.org/support/users/teamchorley/)
 * (@teamchorley)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/custom-code-to-replace-product-lightbox-result/)
 * Evening,
 * Im desperately trying to find a way to lightbox my products – but instead of 
   it lightboxing the single product page I actually need to pop some code into 
   each individual product’s CSS to make it lightbox to a specific document/url 
   on my domain instead.
 * I am sure this HAS to be possible but Im just getting caught in circles trying
   to figure out how I can manipulate things to get it to work.
 * Any help would be greatfully recieved!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [LitExtension_Lucas](https://wordpress.org/support/users/lucaslitextension/)
 * (@lucaslitextension)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/custom-code-to-replace-product-lightbox-result/#post-14549953)
 * Hi there,
 * I suggest you could check out the [Simple Lightbox](https://vi.wordpress.org/plugins/simple-lightbox/)
   plugin.
 * Hope this helps :D.
 *  Thread Starter [teamchorley](https://wordpress.org/support/users/teamchorley/)
 * (@teamchorley)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/custom-code-to-replace-product-lightbox-result/#post-14551549)
 * THanks so much for the help [@lucaslitextension](https://wordpress.org/support/users/lucaslitextension/)–
   but I want to be able to force the lightbox to show something else – and not 
   the single product page 🙁
 * I dont suppose you might know how to achieve this?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom code to replace product lightbox result’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [product](https://wordpress.org/support/topic-tag/product/)
 * [singleproduct](https://wordpress.org/support/topic-tag/singleproduct/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [teamchorley](https://wordpress.org/support/users/teamchorley/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/custom-code-to-replace-product-lightbox-result/#post-14551549)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
