Hello
How can you customize the css of masonry according to the post type?
A Differente Custom css for masonry with portfolio entries than post category
thanks for your help
Hi stefanos!
Nice to have you with us
can you please show me the 2 pages you are using it, so I can provide the CSS code?
Cheers!
Basilis
Hi Basilis
thanks for answering me.
On this page http://www.fert.fr/v2/thematiques/representation-professionnelle/
I put two masonry, each with its post types
I use the plugin “Custom Post Type UI” to create these post types
Can I have eg a different background color for each?
Hey!
not sure what you are trying to achieve. A mockup showing the result would be helpful (imgur.com, dropbox).
Maybe this is what you need:
a#av-masonry-1-item-7777 figcaption.av-inner-masonry-content.site-background {
background-color: red !important;
}
Adjust item-number (item-7777) to call the other masonry items as well.
Cheers!
Andy
Excuse me but I changed the page of my link that I sent you.
This is exactly what I wanted.
Thank you very much for your solution
Hi!
glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.
Best regards,
Andy