Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #952569

    Hello there,

    i have on my website, a masonry with posts, sorted by category.
    Is it possible to change excerpt category of each post, by category?
    Meaning all posts from category A will have background color Yellow,
    all posts from category B will have background color RED, etc.

    How can i do that?

    #953130

    Hey Antonis,

    Please try this CSS to see if it changes anything:

    .home #av-masonry-2 .category-41 .site-background {
      background-color:blue !important;
    }

    Best regards,
    Rikard

    #953783

    i am afraid it is not working.
    Can you please check it again?
    Below are my credentials.

    #954086

    Hi,

    Please add Rikards css to the very top of quick css so that it runs first to see if there is any malformed css beneath it.

    Best regards,
    Jordan Shannon

    #954580

    i did. But nothing changed.
    What should we try more?

    Regards,

    #955023

    Hi,

    Try this instead:

    #av-masonry-3 .category-a .site-background {
      background-color:blue !important;
    }

    Please note that we are here to help with problems with the theme, not to customise it.

    Best regards,
    Rikard

    #955155

    I am afraid still not works.
    Can you please help me with that?

    #955342

    Hi,

    Can you provide a screenshot of the page you’re looking to effect in case we are misunderstanding you.

    Best regards,
    Jordan Shannon

    #957440

    Of course you can see below the image highlighted with the blog masonry and the categories.

    #958632

    Hi qualiapharma,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top.home .isotope-item.category-a figcaption {
      background-color: yellow;
    }
    #top.home .isotope-item.category-b figcaption {
      background-color: blue;
    }
    #top.home .isotope-item.category-c figcaption {
      background-color: red;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

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