• Hi,

    Most of the sites I have developed using the Graphene theme use the standard WordPress photo gallery. Using the GM Neo theme for mobile display, these used to still display in a grid… using Graphene version 2.? they display as single images one underneath the other and I can’t override the CSS in my child theme. Is there any way to remove the ‘width: 100%’ setting so I can change it eg to 33% (ish!) to force a grid with 3 columns?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author silverks

    (@silverks)

    Try adding this code to Customizer > Additional CSS:

    @media (max-width: 767px){
    .gallery-columns-6 .gallery-item, .gallery-columns-6 .gallery-item:nth-child(7n+5), .gallery-columns-6 .gallery-item:nth-child(7n+6) {
       width: 33% !important;
    }
    }
    
    Thread Starter alibellerby

    (@alibellerby)

    Many thanks… I had already tried something similiar but I put it in the stylesheet for the child theme. Is there any way to make it work from the stylesheet rather than the Additional CSS box? Presumably it’s to do with the order the styles are loaded, but it would be neater to have it all in one place.

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