Support » Plugin: WooCommerce » Is there a way to style those single Product shortcodes

  • Resolved Martin

    (@rastarr)


    I want to insert single product shortcodes into posts that relate to products I have available i.e content relevant to products.

    I’ve added a single product shortcode that can be seen at http://www.geekandjock.com/are-women-over-40-still-sexy bit the styling looks real crappy i.e. lots of whitespace, no wrapping blah blah.

    Is there a way to add any styling parameters to the shortcode so maybe the text is to the right of the image, centre it or whatever?

    How are other people inserting single products into content and making them look OK?

    http://wordpress.org/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author James Koster

    (@jameskoster)

    Hi,

    No there aren’t any paramaters to affect the styling of these products. The styling is inherited from the standard product archives. If you’d like to change it you’ll need to add some CSS with additional specificity.

    Something like;

    .the-post-container .woocommerce ul.products li.product {
    /* Stuff here */
    }

    Thanks

    Hey thanks so much for the help. While a bit of a newbie when it comes to CSS, I sorted it out with your helpful pointer and Espresso CSS Editor.

    I did notice from a search that there are some shprtcodes that have an attribute of ‘style’but that isn’t listed anywhere in any docs that I can officially find.

    Did you know about that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a way to style those single Product shortcodes’ is closed to new replies.