Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18699

    Hi

    On mouse over an image in the lightbox arrow controls appear (on left and right edge).

    They don’t make sense as there is only a single product’s image to display.

    - How can I hide these arrows? (My search did not bring up any result)

    – No action should be executed when clicking on the lightbox image (currently it seems to execute the same function as when clicking on one of the arrow controls).

    – The only thing I want the user do with the lightbox is to open it, look at the image, then close it.

    Thanks,

    Bruno

    #100514

    Hi,

    I think this is a perfect time to test out your Chrome Developer tools to find the nodes and add display:none; to two of them for the lightbox. Very simple and I posted video a few hours ago, same concept. https://docs.google.com/open?id=0B8hqGBMSfHtKNE51dUJPZGJwdlE

    Let us know how you do,

    Thanks,

    Nick

    #100515

    Hi,

    It seems that “a.pp_next” and “a.pp_previous” need to be hidden/disabled.

    I outcommented line 142 and 143 in the file “wp-content/themes/flashlight/js/prettyPhoto/css/prettyPhoto.css” and the arrows disappeared.

    I would however have preferred adding a code to the custom.css file, but I cannot figure out its syntax.

    I did a new search in the forum, looking for “a.pp_next” and found this code:

    a.pp_previous, a.pp_next, pp_arrow_previous, pp_arrow_next{

    display: none !important;

    }

    Unfortunately it did not work (even after a refresh).

    Thanks

    Bruno

    #100516

    okay, after further testing I got it:

    a.pp_previous {

    display: none !important;

    }

    a.pp_next {

    display: none !important;

    }

    Regards,

    Bruno

    #100517

    Hi Bruno,

    Glad that you’ve fixed it. :)

    Cheers,

    Ismael

    #100518

    Hi,

    Excellent. By the way, WordPress 3.5 allows links inside Pretty Photo Descriptions . If you go to Media section of Admin, you will see each photo has a sink with ability to style your image descriptions including adding links. Since you use Flashlight, you can look at a question I just answered http://www.kriesi.at/support/topic/linkable-description-on-lightbox#post-88340 which explains how to go about doing it.

    Thanks,

    Nick

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Lightbox: how to hide the arrow controls?’ is closed to new replies.