• deanbl

    (@deanbl)


    Im trying to get this shortcode button from Woocommerce:
    [add_to_cart id=”99″]
    to be smaller so that it doesen’t take up the full width of the page. I’d like to have the “Add To Cart” button directly next to a music player. Everytime I try, the “add to cart” button ends up below it. How do I get rid of the border of the button and make sure that the button is drectly next to the music player (on the same line/row)?

    This is how it looks right now: http://ralphrieckermann.com/home/testt/

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

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

    (@lorro)

    Hi, Try this in your css:
    .product {width:150px; border:0 !important}

    Thread Starter deanbl

    (@deanbl)

    Thank you. Where is this css placed. In the style sheet or somewhere else?

    lorro

    (@lorro)

    Hi, Some themes have a option under Appearance / Customize / Custom css where you can add some css. Otherwise you will need to add it to the style sheet. If you add it to the theme style sheet it could be overridden at the next update, so remember what you did as you may need to redo it, or setup a child theme and work on that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shrink Width Of "Add To Cart" Shortcode Button’ is closed to new replies.