• Resolved tgumbs

    (@tgumbs)


    Hello

    First off, I love this plugin! It is doing exactly what I was looking for. I do however have one issue that I can’t seem to figure out. The images have an effect that zooms and tints the images whenever I hover over it. How do I get rid of this? I just want the images to be flat with no hover effect.

    Also, it seems as though the backdrop of the galleries are black so there is a black bar between each image. This is a problem because the backdrop to my website is white. How do I change it to white so that it fits seamlessly into the webpage?

    Here is a link to the page https://www.maroon.world/volume1/

    Thanks again for a wonderful, simple and clutter free plugin!

    -Travis

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author aurelienpierre

    (@aurelienpierre)

    Hi,

    Photographers Galleries is not responsible for your problem and adds very little styling features. The zooming effect you describe comes from the CSS rules related to WordPress galleries from your theme stylesheet, namely these lines :

    .gallery-columns-1 .gallery-item img {
    	width: 100%;
    	transition: opacity 0.2s ease-in-out,-webkit-transform 0.8s cubic-bezier(0, 0, 0.44, 1.18);
    	transition: opacity 0.2s ease-in-out,transform 0.8s cubic-bezier(0, 0, 0.44, 1.18);
    	transition: opacity 0.2s ease-in-out,transform 0.8s cubic-bezier(0, 0, 0.44, 1.18),-webkit-transform 0.8s cubic-bezier(0, 0, 0.44, 1.18);
    	-webkit-backface-visibility: hidden;
    	backface-visibility: hidden;
    	-webkit-transform: scale(1.01);
    	-ms-transform: scale(1.01);
    	transform: scale(1.01);
    }
    .gallery-columns-1 .gallery-item:hover img {
    	opacity:0.5;
    	-webkit-transform:scale(1.08);
    	-ms-transform:scale(1.08);
    	transform:scale(1.08);
    

    You could install the JetPack plugin and use its Custom CSS feature. Just use this code to overwrite the above rules :

    .gallery-columns-1 .gallery-item img {
    	transition: none!important;
    	transform: none!important;
    }
    .gallery-columns-1 .gallery-item:hover img {
    	transition: none!important;
    	transform: none!important;
    	opacity:1!important;
    }
    

    As for the black background of the pictures, again it comes from your theme :

    .gallery-columns-1 .gallery-item {
    	background-color: rgb(0, 0, 0);
    }

    which you could overwrite in Jetpack custom CSS with :

    .gallery-columns-1 .gallery-item {
    	background-color: transparent!important;
    }

    Please note that these tricks will impact only one-column galleries so ensure to always use one-column galleries inside the Photographers Galleries shortcode.

    As your topic is not directly related to PG features, I will mark this thread as resolved. However, feel free to ask anything else you need.

    Regards,
    Aurélien.

    Thread Starter tgumbs

    (@tgumbs)

    WOW! thanks for the quick follow up. Works perfectly! Exactly what I wanted.

    You are truly a life saver. Thanks a lot!

    -Travis

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Carousel Formatting’ is closed to new replies.