• Resolved makmerghen

    (@makmerghen)


    hello
    I need to do style change as example only for all products of specific category name t-shirt
    is that possible ? and how to do ?
    best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YellowPencil

    (@waspthemes)

    Hi There,

    This is possible. Let’s say there are two categories, ‘hello’, and ‘world’. ‘hello’ category id is 100 and ‘world’ category id is 200.

    1. Open ‘hello’ category page with YellowPencil Editor
    2. Select an element that you want to edit just in current category page
    3. Right-click the element and select “Edit Selector”
    4. Add this selector “body.category.category-100 ” to the first of the input.
    5. Press enter and customize the element

    This customization will appear only ‘hello’ category page but don’t forget to change ‘100’ with the current category id.

    Best Regards

    • This reply was modified 6 years, 1 month ago by YellowPencil.
    • This reply was modified 6 years, 1 month ago by YellowPencil.
    • This reply was modified 6 years, 1 month ago by YellowPencil.
    • This reply was modified 6 years, 1 month ago by YellowPencil.
    Thread Starter makmerghen

    (@makmerghen)

    thank you for your reply
    dear I will be more clear
    I meant changing of single products page of specific category
    as example
    we have two categories, ‘hello’, and ‘world
    so I want if I opened any product page of category hello it will take specific design and if I opened any product page of category world it will take another specific design

    does it possible and how ?
    best regards

    Plugin Author YellowPencil

    (@waspthemes)

    Hi There,

    You can do it but you need to use a custom selector.

    Follow steps in the first message but use this selector for product categories: “body.term-100 ”.

    Best Regards

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘do change only for specific category’ is closed to new replies.