-
AuthorPosts
-
April 15, 2020 at 5:34 pm #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.
Thank you for any assistance,
Carleton
- This topic was modified 4 years, 8 months ago by CarletonTorpin.
April 17, 2020 at 8:28 am #1204629Hey Carleton,
Thanks for the screenshot. Could you post a link to where we can see the actual element as well please?
Best regards,
RikardApril 17, 2020 at 5:46 pm #1204756I’ve updated the private content section with a link.
Thank you. :)
Carleton
April 19, 2020 at 6:39 am #1205172Hi,
Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:
.single-product .woo-variation-items-wrapper { display: block; }
Best regards,
RikardApril 21, 2020 at 7:06 pm #1205925Thank 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.
April 22, 2020 at 6:48 pm #1206319Hi CarletonTorpin,
https://share.getcloudapp.com/JrubWYAN Here is what I am seeing. Is this not how you need it?
Best regards,
VictoriaApril 22, 2020 at 7:19 pm #1206340Thank 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.
April 24, 2020 at 4:33 pm #1206849Hi 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,
VictoriaApril 24, 2020 at 5:53 pm #1206881Thank 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.
- This reply was modified 4 years, 8 months ago by CarletonTorpin.
April 26, 2020 at 4:07 pm #1207279Hi 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,
VictoriaApril 26, 2020 at 11:21 pm #1207396Thank 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:
April 28, 2020 at 5:30 pm #1207869Hi 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,
VictoriaApril 29, 2020 at 5:57 pm #1208223Thank 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.
April 29, 2020 at 10:08 pm #1208335Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Change Placement of Attribute Title on Product Page’ is closed to new replies.