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

    Hi there, I’m trying to apply border to the Publications section (link on private) using these codes:

    .av-masonry-image-container img {
    display: block;
    margin: 0 auto;
    border: 20px solid #E8E8E8;
    }

    or

    .av-masonry-image-container {
    text-align: center;
    background-size: cover;
    background-position: center center;
    }

    Wordpress (or something) is not recognizing my code. When I inspect element it doesn’t show the code I wrote.

    On a side note, if i want these changes to happen on only one page is this code correct?:

    .page-id-5829 .av-masonry-image-container { }

    Thanks!

    #582431

    Hi worldfuturecouncil!

    try to add an !important to you code. Clear browser cache and hard refresh a few times.

    Cheers!
    Andy

    #582438

    Thanks for the answer. if i want these changes to happen on only one page is this code correct?:

    .page-id-5829 .av-masonry-image-container { }

    Thanks!

    #583090

    Hi,

    It looks to be correct yes, please let us know if you should need any more help on the topic.

    Thanks,
    Rikard

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