Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1204071

    I am using a plugin called Variation Swatches for WooCommerce and the makers of the plugin suggested that I contact the Enfold theme creators about my request.

    I’d like to change the placement of the Product Attribute name in my product page’s selector box.

    Presently, I have a variety of color swatches for a given product and the product attribute title appears to the left of those swatches.

    In its current configuration, this creates a large margin on the left of the selector box.

    I’d like the product attribute title placed above the swatches, rather than to the left of them.

    https://prnt.sc/rzx4ji

    Thank you for any assistance,

    Carleton

    #1204629

    Hey Carleton,

    Thanks for the screenshot. Could you post a link to where we can see the actual element as well please?

    Best regards,
    Rikard

    #1204756

    I’ve updated the private content section with a link.

    Thank you. :)

    Carleton

    #1205172

    Hi,

    Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:

    .single-product .woo-variation-items-wrapper {
      display: block;
    }

    Best regards,
    Rikard

    #1205925

    Thank you for that.

    I’ve added it to my quick css section, but there is not a visible change on the product page.

    I have cleared browser cache and refreshed the page, but still no change.

    Thank you for your continued assistance in diagnosing this.

    #1206319

    Hi CarletonTorpin,

    https://share.getcloudapp.com/JrubWYAN Here is what I am seeing. Is this not how you need it?

    Best regards,
    Victoria

    #1206340

    Thank you for checking on this.

    The screenshot you posted is indeed how it currently appears, but that is not the way I would like it to appear.

    I’d like to the “Felt Colors” to be shown above the colors swatches, instead of having “Felt Colors” show up to the left of the color swatches, as it shows currently.

    Image of woo-commerce product listing

    #1206849

    Hi CarletonTorpin,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top .variations td.label {
        display: table-row;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1206881

    Thank you for your efforts with solving this.

    I’ve implemented the new code, which resulted in a visible change.

    It now shows two words stacked on top of each other, but the words still aligned to the left of the color swatches instead of on top of them.

    Any way to make it so the whole text is above the color swatches?

    This is how the page currently looks with those CSS changes.

    Product page screenshot

    #1207279

    Hi CarletonTorpin,

    https://share.getcloudapp.com/yAu2bNm2 I cannot see the screenshot. You can upload screenshots to a service like Dropbox or http://imgur.com and give us the links here.

    Could you please attach a mockup of what you’re trying to achieve?

    Best regards,
    Victoria

    #1207396

    Thank you for letting me know the screenshots are not displaying properly for you.

    Here is an Imgur link to a mockup of what I’d like to achieve:

    View post on imgur.com

    #1207869

    Hi CarletonTorpin,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top .variations td.label,
    #top .variations td.label + td {
        display: table-row;
    }
    

    Please remove the code I gave you before and use this.

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1208223

    Thank you again for your continued help with this.

    I shared your code screenshot with the creators of the plugin and they provided the solution via this code:

    #top .variations td { display: block; }
    .single_variation_wrap { margin: 10px 0px 20px 10px; }

    So, it has been solved for me. :)

    Thank you again for all the help.

    #1208335

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Change Placement of Attribute Title on Product Page’ is closed to new replies.