Home › Community Forums › Epik Theme Support › Modal lightbox effect
- This topic has 8 replies, 2 voices, and was last updated 9 years, 5 months ago by
Terence.
-
AuthorPosts
-
August 1, 2013 at 7:32 pm #6151
Terence
CustomerWhen I use a thumbnail to link to a full-size image, and the image opens, I don’t get the cool modal lightbox effect I was expecting.
The image simply just opens, and to close it again you have to use the back-arrow.
Is that the way its supposed to be. No cool modal lightbox effect with Epik?
Terence.
August 2, 2013 at 9:07 pm #6162Eric
CustomerBy default it’s not supposed to show unless you uncomment the prettyPhoto code in the portfolio template….and the comment out the other code right above it. So basically you have to activate it with the code that is available in the portfolio tempalte. Have you already done that? Do you have a link?
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
August 3, 2013 at 8:59 am #6168Terence
CustomerWhen I did that Eric, that effect is what I was trying to accomplish, but it only changes the portfolio section. The behaviour of the images in the Blog pages are not affected. Is there some more code to uncomment lurking somewhere?
August 3, 2013 at 11:24 am #6169Eric
CustomerThe prettyPhoto is designed to work with the portfolio template only, it’s not site wide. It would probably be easier to find a plugin to get the blog and any other images to open up using that same effect. I’d search over at WP.org, I’m sure they have plenty of plugins that will do this automatically.
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
August 3, 2013 at 12:12 pm #6170Terence
CustomerWhat do you think about doing it this way ~ http://fearlessflyer.com/2011/04/how-to-add-lightbox-to-wp-without-plugin/
Would it be possible to do with what is already installed by the theme?
August 4, 2013 at 12:56 am #6185Eric
CustomerI’ve never used the tutorial so I wouldn’t know if it works or not….so you’ll have to just try it and see.
It should work as long as you can link to the prettyPhoto code in its current location (lib folder of your theme).
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
August 4, 2013 at 8:45 am #6187Terence
CustomerI’ll give it a shot and see what happens. I mean, what harm can it do?… 8^)
August 4, 2013 at 9:56 pm #6196Eric
CustomerIt shouldn’t due too much harm….You probably already know this, but make sure you’re editing your files from FTP just in case you make a mistake and can’t go back (using the WP editor).
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
August 5, 2013 at 5:07 am #6204Terence
CustomerYes, no prob. My real problem is to figure out how to edit the code snippets to access the files already in situ.
-
AuthorPosts
- You must be logged in to reply to this topic.