Support » Plugin: WooCommerce Show Attributes » Attributes Allignment

  • Resolved warmax356


    Good afternoon

    i am trying to get the attributes to display in a need 2 colum text grid like:

    size:     11 UK
    hieght:   12 cm
    • This topic was modified 2 years, 11 months ago by  warmax356.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author isabel104


    You could try adding this CSS style:

    .custom-attributes .attribute-value { float:right }

    Ever since WordPress 4.7, you can now add custom CSS styles right in the Customizer. You can do this in your WordPress dashboard –> Appearance –> Customize. Then, click on “Additional CSS.” Inside the Customizer, navigate to one of your product pages so that you can test this CSS and preview how it will appear.

    Sadly that puts it to the far right of the screen, would it be possible to have it with similar spacing to the above? also the first attribute loads center screened

    please see screenshot.

    Image example

    okay so by using the following

    .custom-attributes .attribute-value { float:right; display:block; width:200px }

    i got the following result: screenshot

    but strap/band material still loads centered.

    so i got close, but i used

    .custom-attributes {float:left;font-weight:bold }
    .custom-attributes .attribute-value { float:right; display:block; width:200px; font-weight:normal }

    how ever this brought the left aligned attribute titles to line up under the “straps/band” instead of moving it above the others to the left.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Attributes Allignment’ is closed to new replies.