Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #696895

    Dear Yigit, I need your help!

    I’ve a customer who wants pages indexed according to 3 categories (I’ve already installed a plugin to do this). Each category must have a special style (like this site http://www.vogue.it/ when you do the hover appear a red border on the images). For example let’s say that the 3 categories are “1”, “2” and “3”, all the images of the category “1” must have a yellow border when you do the hover, the category “2” a red border and the category “3” a blue border.
    I need each content to show the color pertaining to its own category every time it appears, when visited as well as when listed.

    How can I do that?
    I’m desperate :(( Please help!!!

    #697006

    Hey opificioilgranello,

    If you inspect the category page in question you will find a category class in the body tag, you can then use that for specific CSS for that category:

    .your-category img {
    border:1px solid red !important;
    }

    Best regards,
    Rikard

    #697054

    Rikard! Thank you so much!!!

    #697168

    Hi,

    Glad we could help :-)

    Please open a new thread if you should have any further questions or problems.

    Regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Different category different style (border hover)’ is closed to new replies.