This topic has 20 replies, 2 voices, and was last updated 8 years, 3 months ago ago by Robert Hall
I want to open images and use PrettyPhoto in order to do it. The only problem I have with it is that there isn’t any convenient way to bypass the full screen control and have it open full resolution (original size) right off the bat.
Also, if possible, to disable PrettyPhoto on mobile devices.
Is there a such a way to do these things with a simple code modification?
Hello,
This question is a bit unclear for us. Could you please clarify us with more details?
Maybe provide screenshot for our better understanding and highlight what exactly you want.
Regards,
Robert Hall
Well Robert, let’s just start by asking for how to disable PrettyPhoto on mobile devices.
Hello,
I’ve added this code in Custom CSS for mobile.
div.pp_pic_holder,
div.pp_overlay{
display:none !important;
}
Regards,
Robert Hall
Nice. One little problem with that though. If the mobile device is in landscape mode, the pic can still open up…it’s “tappable”.
Hello,
I’ve added the same code in Custom CSS for mobile landscape. Please check.
Regards,
Robert Hall
Seems to be fine now. I haven’t checked it on tablet yet to see if it needs to be disabled on that platform or not. Will keep you posted.
Incidentally, how can we set the scaling of the image when PrettyPhoto opens them?
Unfortunately, there is no such option.
You should contact Visual Composer support concerning your query as this is their configuration.
Also you can ask them in comments section:
https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431/comments
Regards,
Robert Hall
Alright…I’ll do that…but that leads me to another question. You’re telling me to contact the plugin dev that was bundled with the theme. I’ve contacted, for example, Masterslider on an issue and they said to contact you with any problems (since it was bundled with Classico).
Won’t VC tell me to do the same thing?
I’m confused on who to contact?
First ask them, maybe they will find a solution to your query.
Also it requires additional customization which is not for free.
If you agree to proceed please contact us via form https://www.8theme.com/customization-services/ for further information.
Regards,
Robert Hall
I see. Well I’m not asking for anything custom…just basically “hot to” questions in regards to their plugin (when I posted a Masterslider question).
So that said, I’ll ask you the same thing.
I’m using a text layer to create a solid colored block by tweaking settings of the “border” in Style Editor. I need this border to have some opacity. What is the code to add to the “Custom Style” section please?
See screen shot:
Thanks!
Hello,
Please provide us with direct link to page where you’re added that block with border.
Regards,
Robert Hall
It’s the Masterslider on the Home page under “Featured Products”.
See attached for link to page.
I hope this helps!
Try to use the following code
.ms-slide .ms-layer {
border-color: rgba(0,0,0, 0.7);
}
Regards,
Robert Hall
It was a logical effort, but it didn’t do anything. 🙁 I really thought it would. Maybe I’m missing something?
Please try to add that code in Global Custom CSS.
Regards,
Robert Hall
You’re a genius…that worked. I don’t understand how though. That code doesn’t have a slider ID or anything associated with it.
Does that mean any border layer created in Masterslider is going to have that opacity applied to it?
Hello,
Yes, if you want them only at home page then you can replace code above to
.home .ms-slide .ms-layer {
border-color: rgba(0,0,0, 0.7);
}
Regards,
Robert Hall
What gave me a lot of run-around looking for support on that plugin (from their devs no less), you solved in mere minutes. Thanks a bunch Robert. Classico support to the rescue…once again.
You’re welcome!
Regards,
Robert Hall
The issue related to '‘PrettyPhoto opening to full res? How to?’' has been successfully resolved, and the topic is now closed for further responses