Cianfrani Posted March 22, 2020 Share Posted March 22, 2020 Site URL: https://www.cianfranicoffeeroasters.com/order-coffee/fulton-cycle-hw6sc New to SquareSpace so I'm a bit frustrated that I can't change the layout of the product block, or change the font of the variant drop down menus. If you look at a sample page (https://www.cianfranicoffeeroasters.com/order-coffee/fulton-cycle-hw6sc) you can see the variants stick out like a sore thumb. 1) How can I change the font to match the font on the template? 2) How can I change the layout of the variants so they are not displayed one below the other, like they are now, but in two columns? Link to comment
Solution tuanphan Posted March 23, 2020 Solution Share Posted March 23, 2020 Add to Home > Design > Custom CSS /* tested by tuan */ /* question 01 */ .variant-option select, .variant-option select option { font-family: freight-sans-pro !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Cianfrani Posted March 24, 2020 Author Share Posted March 24, 2020 (edited) Thanks tuanphan! That worked great! I added the font-size attribute to make it a closer match. Anyone have suggestions on question 2? Edited March 24, 2020 by Cianfrani Link to comment
tuanphan Posted March 24, 2020 Share Posted March 24, 2020 2 hours ago, Cianfrani said: Thanks tuanphan! That worked great! I added the font-size attribute to make it a closer match. Anyone have suggestions on question 2? You mean like this? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Cianfrani Posted March 24, 2020 Author Share Posted March 24, 2020 Exactly like that! Link to comment
tuanphan Posted March 25, 2020 Share Posted March 25, 2020 21 hours ago, Cianfrani said: Exactly like that! Add to Home > Design > Custom CSS .product-variants { column-count: 2; } #productDetails .product-variants .variant-option { margin-top: 0; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Solletix Posted September 11, 2020 Share Posted September 11, 2020 @Cianfrani were you able to solve this variant field location issue? Link to comment
mccallkeller Posted October 10, 2020 Share Posted October 10, 2020 Hey everyone! for my site, I'm trying to make the variant boxes the same width as the text above them. is there a way to do that? an example product page is; https://www.andthenjewelry.com/collections/beni-shoga-n8amh thanks so much for the help! Link to comment
Jeff2886 Posted April 21, 2021 Share Posted April 21, 2021 On 3/25/2020 at 10:23 AM, tuanphan said: Add to Home > Design > Custom CSS .product-variants { column-count: 2; } #productDetails .product-variants .variant-option { margin-top: 0; } Hey Tuan, I'm having the inverse problem. I adjusted the size of my product-variant dropdown menus with the code shown below and now when I go to my site, two dropdown menus end up beside each other on the same line. I tried to set the column count to 1 (and even 0) and it didn't solve the issue. Any tips? I'd like to be able to set the width of the boxes to 250px and have them on separate lines. Thanks! Existing code: .variant-option { width: 250px !important; } .product-variants { column-count: 1; } Link to comment
Jeff2886 Posted April 21, 2021 Share Posted April 21, 2021 Played around with it some more and figured it out myself: .product-variants { width: 250px !important; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; } Link to comment
Daniellerose Posted October 6, 2021 Share Posted October 6, 2021 On 3/25/2020 at 10:23 AM, tuanphan said: Add to Home > Design > Custom CSS .product-variants { column-count: 2; } #productDetails .product-variants .variant-option { margin-top: 0; } Hi Tuanphan, this is not working for me, can you possibly help? I am using the swatch plugin so maybe this is the issue? Trying to get the colour and size variants all on one line with add to cart button below or if that is not possible, if I could reduce the spacing between price, variants and add to cart button that would help too. Here is one product page for an example:https://kokorozenwear.com/loungewear/p/retro-tshirt Attached is what I would like it to look like ideally:) Thanks so much in advance Link to comment
tuanphan Posted October 8, 2021 Share Posted October 8, 2021 On 10/6/2021 at 9:00 PM, Daniellerose said: Hi Tuanphan, this is not working for me, can you possibly help? I am using the swatch plugin so maybe this is the issue? Trying to get the colour and size variants all on one line with add to cart button below or if that is not possible, if I could reduce the spacing between price, variants and add to cart button that would help too. Here is one product page for an example:https://kokorozenwear.com/loungewear/p/retro-tshirt Attached is what I would like it to look like ideally:) Thanks so much in advance Add to Design > Custom CSS .variant-option { float: left; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Daniellerose Posted October 9, 2021 Share Posted October 9, 2021 Thank you so much! On 10/8/2021 at 6:24 AM, tuanphan said: Add to Design > Custom CSS .variant-option { float: left; } Link to comment
malug Posted February 17 Share Posted February 17 (edited) Hi! Can someone help me style my product page buttons? This is what it currently looks like. Ideally I would like for size and quantity to look like add to cart! @tuanphan 🙏 Edited February 17 by malug Link to comment
tuanphan Posted February 21 Share Posted February 21 On 2/17/2023 at 10:38 PM, malug said: Hi! Can someone help me style my product page buttons? This is what it currently looks like. Ideally I would like for size and quantity to look like add to cart! @tuanphan 🙏 Can you share link to this product? We can help easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
malug Posted February 22 Share Posted February 22 Thanks! Here is a link to the product, i would like all products to be the same. Looking to customize! https://www.malugarcia.com/shop/p/tennis Link to comment
tuanphan Posted February 26 Share Posted February 26 On 2/23/2023 at 1:42 AM, malug said: Thanks! Here is a link to the product, i would like all products to be the same. Looking to customize! https://www.malugarcia.com/shop/p/tennis It looks like you changed add to cart style. Do you still need help? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
malug Posted February 28 Share Posted February 28 yes! i would like to change the size and field styles (rounded corners vs square) Link to comment
tuanphan Posted March 5 Share Posted March 5 Add to Design > Custom CSS div.sqs-add-to-cart-button { border-radius: 20px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
MMayfield Posted July 26 Share Posted July 26 Hello! Can someone help me change the variant options to display on two different lines? Currently they're on the same line. https://www.lukelampco.com/test-variant-products/extended-length-tracer-bar-2 https://www.lukelampco.com/test-variant-products/extended-length-tracer-bar-2 Link to comment
tuanphan Posted July 27 Share Posted July 27 4 hours ago, MMayfield said: Hello! Can someone help me change the variant options to display on two different lines? Currently they're on the same line. https://www.lukelampco.com/test-variant-products/extended-length-tracer-bar-2 https://www.lukelampco.com/test-variant-products/extended-length-tracer-bar-2 Add to Design > Custom CSS /* Variant dropdown */ .product-variants { -webkit-box-orient: vertical !important; -webkit-box-direction: normal !important; -ms-flex-direction: column !important; flex-direction: column !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
MMayfield Posted July 27 Share Posted July 27 12 hours ago, tuanphan said: Add to Design > Custom CSS /* Variant dropdown */ .product-variants { -webkit-box-orient: vertical !important; -webkit-box-direction: normal !important; -ms-flex-direction: column !important; flex-direction: column !important; } That worked perfectly, thank you Tuanphan! Is there a way to increase the padding in between the two lines? Link to comment
tuanphan Posted July 28 Share Posted July 28 18 hours ago, MMayfield said: That worked perfectly, thank you Tuanphan! Is there a way to increase the padding in between the two lines? Use this code .product-variants { -webkit-box-orient: vertical !important; -webkit-box-direction: normal !important; -ms-flex-direction: column !important; flex-direction: column !important; } .product-variants>div { margin-bottom: 40px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
MMayfield Posted August 1 Share Posted August 1 On 7/28/2023 at 4:23 AM, tuanphan said: Use this code .product-variants { -webkit-box-orient: vertical !important; -webkit-box-direction: normal !important; -ms-flex-direction: column !important; flex-direction: column !important; } .product-variants>div { margin-bottom: 40px !important; } Thanks so much!! tuanphan 1 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