Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #806139

    Hi Guys,

    I hope you can help me on this topic. I am using a WooCommerce Addon called “Improved Variable Product Attributes for WooCommerce”. However, currently I am modifying the shop sites of my WooCommerce installation.

    What I am going to do is to center product descriptions and images. So far i was able to get everything done with my CSS knowledge, but for some reason I don’t get the product attributes moving where i want to have them (centered below the description).

    Thanks for your help!

    #807458

    Hey,

    Sorry for the late reply!
    Not sure if i understood the changes you would like to make clearly. Can you please post a screenshot and point them out?
    You can upload your screenshots on imgur.com or Dropbox public folder and post the links here

    Best regards,
    Yigit

    #808941

    Hey Yigit,

    Thanks for getting back to me and apologize for my late response as well. In the meantime i got a bit further with the css, but I am still struggling with a tiny little thing. It’s the headline of the product attributes. To make things clear i’ve added to screenshots to this post (see privat content section).

    The first screenshot shows you how site looks before i’ve adding my custom css and the second screenshot what happened after i’ve added the following css code:

    div .ivpa_attribute, .ivpa_text, .ivpa_border, .ivpa_activated {
    padding-top: 20px;
      display: flex;
      text-align: none !important;
      align-items: center;
      justify-content: center;
    }

    Thanks for your help!

    #809935

    Hi,

    Try this code instead and don’t forget to flush the cache:

    
    div .ivpa_attribute, .ivpa_text, .ivpa_border {
            padding-top: 20px;
            text-align: center;
    }
    #ivpa-content .ivpa_attribute.ivpa_text.ivpa_border .ivpa_term {
        display: inline-block;
    }

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #813339

    Hi Victoria,

    I appreciate your help on this topic.

    Please open the link to see how it looks after your css code was added. For some reason variations are still not centered.

    Thanks,
    Frank

    #813405

    Hi Frank,

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #ivpa-content .ivpa_attribute {
        width: 285px;
        margin: auto;
    }

    Best regards,
    Yigit

    #813431

    Thank you so much, Yigit. It’s working now. Please feel free to close this thread.

    #813436

    Hi,

    You are welcome :)

    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Trying to center product variations on WooCommerce Shop’ is closed to new replies.