AndreaGC Posted October 25, 2020 Share Posted October 25, 2020 Hi, Does anyone know how to get rid of the variant name above the product dropdown menu? I don't mind the name on the white dropdown bar, I just want to get rid of the name above it. I'm working with version 7.1 Thanks for your help! Link to comment
tuanphan Posted October 26, 2020 Share Posted October 26, 2020 Can you share link to product in screenshot? We can help easier. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
AndreaGC Posted October 26, 2020 Author Share Posted October 26, 2020 Hi Tuanphan! Yes there's a screenshot attached to my question, but I'm reposting it here. Thanks for your help! Link to comment
AndreaGC Posted October 26, 2020 Author Share Posted October 26, 2020 Yes, here is a link. https://lychee-lanternfish-y5ft.squarespace.com/elopement Link to comment
Solution paul2009 Posted October 26, 2020 Solution Share Posted October 26, 2020 22 hours ago, AndreaGC said: Does anyone know how to get rid of the variant name above the product dropdown menu? These are known as variant option titles. You can remove them by adding this to Custom CSS: .variant-option-title { display: none; } If this helps you, please click "Like" below ⬇️ gdmartino, AndreaGC and SonyaFe 2 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
gdmartino Posted January 26, 2022 Share Posted January 26, 2022 On 10/27/2020 at 9:06 AM, paul2009 said: These are known as variant option titles. You can remove them by adding this to Custom CSS: .variant-option-title { display: none; } If this helps you, please click "Like" below ⬇️ Thank you! Link to comment
Terratag Posted September 6, 2023 Share Posted September 6, 2023 On 10/27/2020 at 8:06 AM, paul2009 said: These are known as variant option titles. You can remove them by adding this to Custom CSS: .variant-option-title { display: none; } If this helps you, please click "Like" below ⬇️ Hi @paul2009, I've just come across this post from a while ago and your code has been super helpful thank you. I'm also wondering if it's possible to hide the 'select variant option' that's included in the drop down when selected. Here's an example, it's the blue line I'd like to hide if possible. The 'select seed type in the drop down list seems unnecessary as it's in the field already: Many thanks. 🙂 Link to comment
tuanphan Posted September 7, 2023 Share Posted September 7, 2023 On 9/6/2023 at 2:52 PM, Terratag said: Hi @paul2009, I've just come across this post from a while ago and your code has been super helpful thank you. I'm also wondering if it's possible to hide the 'select variant option' that's included in the drop down when selected. Here's an example, it's the blue line I'd like to hide if possible. The 'select seed type in the drop down list seems unnecessary as it's in the field already: Many thanks. 🙂 You will need to use script code to remove this. Do this for a product or all products? Can you share link to shop page on your site? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
paul2009 Posted September 7, 2023 Share Posted September 7, 2023 On 9/6/2023 at 8:52 AM, Terratag said: I'm also wondering if it's possible to hide the 'select variant option' that's included in the drop down when selected. Have you tried adding this to Custom CSS: select option:first-of-type { display:none; } Did this help? Please give feedback by clicking an icon below ⬇️ Terratag 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Terratag Posted September 7, 2023 Share Posted September 7, 2023 Thank you paul2009, you're a genius! 😁 The custom CSS did the trick. paul2009 1 Link to comment
paul2009 Posted September 7, 2023 Share Posted September 7, 2023 You're welcome @Terratag Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
heycody Posted November 2, 2023 Share Posted November 2, 2023 On 9/7/2023 at 1:50 AM, paul2009 said: Have you tried adding this to Custom CSS: select option:first-of-type { display:none; } Did this help? Please give feedback by clicking an icon below ⬇️ Hi Paul, We tried using this code and it worked on the desktop view, but it didn't work on the mobile view. Is there a way to get this code to hide the "Select Variant Option" on mobile view as well? Website Link Link to comment
paul2009 Posted November 4, 2023 Share Posted November 4, 2023 On 11/2/2023 at 1:33 PM, heycody said: We tried using this code and it worked on the desktop view, but it didn't work on the mobile view. Hi Cody The issue is that although the CSS works on both desktop and mobile, it won't work on mobile browsers like iOS Safari where it takes full control of Select list/option styling, and so ignores the CSS. Did this help? Please give feedback by clicking an icon below ⬇️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
paul2009 Posted November 6, 2023 Share Posted November 6, 2023 8 minutes ago, heycody said: $(this).find("option:first-child").val(variabletext); when we turned on the "Waitlist" feature found in Selling > Selling Tools > Waitlists, it seems to not make the code work. It no longer says "SELECT PROPER SIZE" and the "Select" converts to lowercase. I haven't tested this, but it looks like the code is trying to change the value of the option (".val") and not the text that is displayed to users (".text"). Have you tried changing this? Also, I see you have two lines that are attempting to load jQuery - versions 3.6.0 and 3.4.1. I recommend you remove the older version (3.4.1) as this has security vulnerabilities and is out of date. Did this help? Please give feedback by clicking an icon below ⬇️ heycody 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
heycody Posted November 6, 2023 Share Posted November 6, 2023 Just now, paul2009 said: I haven't tested this, but it looks like the code is trying to change the value of the option (".val") and not the text that is displayed to users (".text"). Have you tried changing this? Also, I see you have two lines that are attempting to load jQuery - versions 3.6.0 and 3.4.1. I recommend you remove the older version (3.4.1) as this has security vulnerabilities and is out of date. Did this help? Please give feedback by clicking an icon below ⬇️ If it is not possible, is there a way to have the waitlist feature only be turned on for specified products and not all products? Link to comment
paul2009 Posted November 6, 2023 Share Posted November 6, 2023 1 minute ago, heycody said: If it is not possible... It should be possible. Did you try making the change that I suggested? Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
heycody Posted November 6, 2023 Share Posted November 6, 2023 32 minutes ago, paul2009 said: It should be possible. Did you try making the change that I suggested? Thank you very much. Your suggested change worked perfectly. Is there a way to keep the SOLD OUT product status shown in the drop down variant even with the Waitlist feature turned on? Link to comment
paul2009 Posted November 6, 2023 Share Posted November 6, 2023 4 hours ago, heycody said: Is there a way to keep the SOLD OUT product status shown in the drop down variant even with the Waitlist feature turned on? No. When Product Waitlists are enabled, Sold Out labels won't display in variant drop-downs. The theory is that a "SOLD OUT" label will deter the user from selecting that variant and so they won't see the waitlist option; they'll simply abandon their purchase. heycody 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment