[Resolved] Hook style in WooCommerce special pages

Home Forums Support Hook style in WooCommerce special pages

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

    Hi Tom, Hi Team,

    I’m starting to use the Element module to hook some stuff where I need to and keep my website as light as possible.
    I however cannot figure out how to hook specific stylesheets for WooCommerce special pages (My Account, Checkout, etc).
    I was able to do it for products and categories as there’s a location for this but what about these special pages?

    I mean, currently they are in my style.css but I’m loading 1000+ lines of styles on every pages of my website when it is only needed for 2 or 3 specific pages. Any idea?

    Thanks for your help
    Best regards,

    #983788
    David
    Staff
    Customer Support

    Hi there,

    you can select them in Elements Display Rules under Pages > My Account or Checkout.

    #983813
    Andrew

    Hey David,

    I kinda feel dumb I didn’t figure this out by myself 🙂

    Thanks for your help!

    #983822
    David
    Staff
    Customer Support

    Join the club 🙂 Was one of the first questions i asked when Elements was in development lol

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.