Topic: different background color for certain category…? | WP Masonry Layout

different background color for certain category…?

Home Forums Lite Version different background color for certain category…?

This topic contains 2 replies, has 2 voices, and was last updated by  Masonry Guy 1 month, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14876 Reply

    Michael87

    Hi there!

    I was wondering how I can make the plugin print out an category-ID, so I can use a css selector to adress it, and then set different background-colors for the tiles…?
    Tried something in “wp-masonry-layout/themes/default/style.php”, with get_cetegory… but no success…

    I am so looking forward to any help!

    Thanx so much!

    Michael

    #14877 Reply

    Michael87

    I meant: wp-masonry-layout/themes/default/layout.php

    #14917 Reply

    Masonry Guy
    Keymaster

    Hi Michael87,

    Our plugin sets category-slug to each wmle_item class div. You can set the css with category-slug class to make the color unique.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: different background color for certain category…?
Your information: