Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #201476

    Hi,

    I use PrettyPhoto with inline content. Unfortunately, the window opens not in the default size (500 width) but 100%.

    view here please

    I tried this
    div.pp_pic_holder {
    opacity: 0.8 !important;
    width: 50% !important;
    left: 25% !important;
    }

    but than the window is not flexible any more.

    Do you have any suggestion for me?

    Susanne

    #201782

    Hey sue007!

    Please try adding following code to Quick CSS in Enfold theme options under Styling tab

    div.pp_pic_holder { width: 500px!important; }
    div.pp_default div .pp_content, .pp_content_container { height: 300px!important; }
    div.pp_default .pp_close { z-index: 9; }

    Cheers!
    Yigit

    #205768

    Hi Yigit and a happy new year!

    The problem is that with setting a fixed width and height the contents disappears when somebody uses enlarging functions like STR + +.
    On the developer’s website it works
    look here

    Susanne

    • This reply was modified 10 years, 2 months ago by sue007.
    #206050

    Hi!

    You can use a percentage to make it more flexible. Eg:

    
    div.pp_pic_holder { width: 45% !important; }
    div.pp_default div .pp_content, .pp_content_container { height: 50% !important; }
    div.pp_default .pp_close { z-index: 9; }
    

    Regards,
    Devin

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘PrettyPhoto’ is closed to new replies.