Tagged: background color, category, masonry
-
AuthorPosts
-
May 7, 2018 at 10:22 am #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?
May 8, 2018 at 6:29 am #953130Hey 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,
RikardMay 9, 2018 at 10:10 am #953783i am afraid it is not working.
Can you please check it again?
Below are my credentials.May 9, 2018 at 6:24 pm #954086Hi,
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 ShannonMay 10, 2018 at 2:34 pm #954580i did. But nothing changed.
What should we try more?Regards,
May 11, 2018 at 6:35 am #955023Hi,
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,
RikardMay 11, 2018 at 10:35 am #955155I am afraid still not works.
Can you please help me with that?May 11, 2018 at 4:22 pm #955342Hi,
Can you provide a screenshot of the page you’re looking to effect in case we are misunderstanding you.
Best regards,
Jordan ShannonMay 16, 2018 at 11:03 am #957440Of course you can see below the image highlighted with the blog masonry and the categories.
May 18, 2018 at 3:38 pm #958632Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.
