Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

[Resolved] Custom CSS for a specific product ID or product category ID

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Custom CSS for a specific product ID or product category ID

Tagged: custom CSS for category display, custom CSS for product display

  • This topic has 2 replies, 2 voices, and was last updated 4 years, 5 months ago by kez.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 13, 2020 at 4:51 pm #82129
    kez
    Participant

    I have several products and need to write custom CSS for a specific product ID. This is also the only product listed on that page. How can I specify that one specific product displays in according to the custom CSS without affecting other products?

    I have several products, all from the same category, displaying with a category short tag in 2 different places each using a different display style. I need to make some CSS customizations to each. How do I specify each category’s display style so that it only affects that shortcake’s display and not the other style’s display (they are on different pages).

    I couldn’t find anything about this in the documentation or by searching the forum.

    December 13, 2020 at 6:09 pm #82131
    wzp
    Moderator

    Can that specific page, that lists that specific product; be isolated (not used) by other products? If so, you might be able to hand edit the page, using in-line CSS along with either the shortcode, or its PHP equivalent.

    December 16, 2020 at 2:45 pm #82136
    kez
    Participant

    That specific page is only used for that one product or category. I found a way to control most of what I need to do with CSS by specifying the page ID.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ