Good day, I am pulling in posts and pages from 5 primary

Good day,

I am pulling in posts and pages from 5 primary subtsites as well as a single post type from all other existing sub sites. I am wondering if I could stylize (CSS) each post category differently. For example, all POSTS coming from sub site http://mysite.com/cats would be stylized differently then a particular post type coming from http://mysite.com/dogs.

Can this be easily achieved using network wide posts, post indexer, and custom CSS?

Kindest,
Shane

  • Tyler Postle

    Hey Shane,

    Hope you're doing well today!

    There are no specific CSS selectors for posts pulled from each site, so it would be difficult to style them individually. Are you displaying all the different post types on the same page or do you have different pages on your main site that you are pulling the posts into?

    If you are pulling the lists into different pages then you can style each page individually :slight_smile:

    Would you be able to link us to where you have this setup? Then we can have a closer look. Or if you could add our WPMU DEV Dashboard then we can see your site with that and you don't need to post it publicly. https://premium.wpmudev.org/project/wpmu-dev-dashboard/

    Look forward to hearing back on this!

    All the best,
    Tyler

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.