• Resolved Marc

    (@crammarc)


    Hola,
    Me gustaría saber si es posible ajustar los márgenes en determinadas páginas de Woocommerce. Por ejemplo, en la página de producto.
    En productos variables, cuando seleccionamos una opción, el precio me aparece pegado a la casilla de Cantidad y al botón de “A?adir al carrito”.
    Gracias y un saludo.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @crammarc,

    I would like to know if it is possible to adjust the margins on certain Woocommerce pages.

    Thanks for your question!

    It looks like you want to increase the top margin, is that correct?


    Link to image: https://i.imgur.com/YRhkXLf.png

    If so, you may want to use CSS. Go to the WordPress Dashboard > Appearance > Customize > Additional CSS and add this CSS to the editor:

    .woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled {
    margin-top: 30px !important;
    }

    This will increase the margin-top to 30px and the result will be:


    Link to image: https://i.imgur.com/6uGnwmy.png

    I hope this information is helpful to you.

    Thread Starter Marc

    (@crammarc)

    Hola, Mirko,
    Muchas gracias por tu ayuda.
    Un saludo

    Mirko P.

    (@rainfallnixfig)

    You’re welcome!

    Great! Happy to see that I was able to help you out.

    Feel free to open a new thread if you have any further questions.

    Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cambiar margenes en páginas woocommerce’ is closed to new replies.