Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #741994

    How do Support,

    EDIT** Should probably stat this a Masonry element showing portfolio items and a masonry gallery showing image.
    I’ve sat for ages now and can’t figure it out.

    I have a masonry gallery with the overlay activated and I want to change the color of the overlay.
    Figured that out with the following code

    .av-masonry-item-with-image .av-inner-masonry-content {
      background-color:rgba(194, 144, 10, 0.454902)!important;
    	background:rgba(194, 144, 10, 0.454902)!important;}

    That changes the overlay to gold. Winner!

    Now i really only want every 2nd image to have gold. I though this would do it…

    .av-masonry-item-with-image .av-inner-masonry-content:nth-child(2n) {
      background-color:rgba(194, 144, 10, 0.454902)!important;
    	background:rgba(194, 144, 10, 0.454902)!important;}

    But it doesn’t work

    Any ideas??

    Thanks

    Tim

    • This topic was modified 7 years, 10 months ago by tjswarbs78.
    #742681

    Hi Tim,

    Could you post a link to the site in question so that we can take a closer look please?

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.