Support » Plugin: WooCommerce Shortcodes » Alignment

  • Hey,

    I was wondering if there is a way to have the shortcodes, aligning to the centre instead of to the left?

    I tried to align it via. the text editor as well as the HTML code editor and have had zero success.

    Here is one of the codes that I am using:
    [featured_products per_page="12" columns="4" orderby="date" order="DESC"]

    Thanks,
    Donald Louch

    https://wordpress.org/plugins/woocommerce-shortcodes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is a CSS issue. I have done this a number of times. For the most part, depending on the theme, I use a media query, typically for desktop sizes to center the products.

    This is done by removing float:left; with a float:none; declaration and setting the margin to either margin:0 auto; or margin: auto;.

    I could better assist if I could see the page in question but usually changing the float and margin properties gets the products center aligned.

    Hope this helps.

    Cheers!

    Hello, same problem here but I do not understand what I should do ?

    Also, I cannot show products on a same flat line, the second one is a bit below the first one, do you have any idea ?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Alignment’ is closed to new replies.