Home / Forums / You Theme Support / Apply Different CSS based on Skin choice

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • itvisionsinc
    Participant

    I’m developing a site that will utilize different skins based on the type of post that is created. I do see the ability to select a skin when creating a new post but during my testing, I was hoping that a special class would appear either within the <HTML> or <Body> tag. This way, I would be able to target each skin and apply different css. Is this possible? Thank you for your time.

    Hi @itvisionsinc

    As of the moment, the skin type/name is still not added as a class to the body but I will suggest this to the developer for consideration on future updates.

    Regarding your plan on applying different styles for different types of posts, what are you going to base it on? The post ID of each posts should be on the body’s class, so you can use that to style each posts.

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.