PrettyPhoto opening to full res? How to?

This topic has 20 replies, 2 voices, and was last updated 8 years, 3 months ago ago by Robert Hall

  • Avatar: talonhead
    talonhead
    Participant
    August 1, 2016 at 13:06

    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?

    19 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 1, 2016 at 15:57

    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

    Avatar: talonhead
    talonhead
    Participant
    August 1, 2016 at 16:04

    Well Robert, let’s just start by asking for how to disable PrettyPhoto on mobile devices.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 1, 2016 at 17:30

    Hello,

    I’ve added this code in Custom CSS for mobile.

     div.pp_pic_holder,
     div.pp_overlay{
         display:none !important;
     }

    Regards,
    Robert Hall

    Avatar: talonhead
    talonhead
    Participant
    August 1, 2016 at 22:47

    Nice. One little problem with that though. If the mobile device is in landscape mode, the pic can still open up…it’s “tappable”.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 2, 2016 at 08:03

    Hello,

    I’ve added the same code in Custom CSS for mobile landscape. Please check.

    Regards,
    Robert Hall

    Avatar: talonhead
    talonhead
    Participant
    August 2, 2016 at 10:28

    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?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 2, 2016 at 11:45

    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

    Avatar: talonhead
    talonhead
    Participant
    August 2, 2016 at 11:50

    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?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 2, 2016 at 12:18

    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

    Avatar: talonhead
    talonhead
    Participant
    August 2, 2016 at 14:18

    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:

    http://prntscr.com/bxnkyk

    Thanks!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 3, 2016 at 13:55

    Hello,

    Please provide us with direct link to page where you’re added that block with border.

    Regards,
    Robert Hall

    Avatar: talonhead
    talonhead
    Participant
    August 3, 2016 at 14:13

    It’s the Masterslider on the Home page under “Featured Products”.

    See attached for link to page.

    I hope this helps!

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 3, 2016 at 15:49

    Try to use the following code

    .ms-slide .ms-layer {
        border-color: rgba(0,0,0, 0.7);
    }

    Regards,
    Robert Hall

    Avatar: talonhead
    talonhead
    Participant
    August 3, 2016 at 15:55

    It was a logical effort, but it didn’t do anything. 🙁 I really thought it would. Maybe I’m missing something?

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 3, 2016 at 16:58

    Please try to add that code in Global Custom CSS.

    Regards,
    Robert Hall

    Avatar: talonhead
    talonhead
    Participant
    August 3, 2016 at 20:31

    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?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 3, 2016 at 20:51

    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

    Avatar: talonhead
    talonhead
    Participant
    August 3, 2016 at 20:57

    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.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 3, 2016 at 21:28

    You’re welcome!

    Regards,
    Robert Hall

  • Viewing 20 results - 1 through 20 (of 20 total)

The issue related to '‘PrettyPhoto opening to full res? How to?’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.