Jump to content

Drop-down options issue. The Attributes and options are cut off


Recommended Posts

Hello everyone,

 

I am trying to setup my products and the fist product I added I noticed that the options are cut off.

 

I posted the issue on reddit and someone told me this

 

Add this to the bottom of your product.css file. .product-variants>.product-variants-item select {width:100%}

 

I am not a developer and do not know how to do this. 

 

Can someone please help me.

 

here is how it looks

 

https://mycheapprinting.com/brown-kraft-cards/14-3128-brown-kraft-business-cards.html#/25-size-35_x_2/33-qty-100/99-printed_sides-front_and_back/104-paper-18pt_uncoated_brown_kraft_cardstock/105-white_ink-white_ink_on_front

 

I would like to make them the same length based on the longest value in any of the attributes

 

I am on the latest version 1.7.1

 

thank you for your time

post-1392795-0-55660500-1494051087_thumb.png

Edited by support@mycheapprint (see edit history)
Link to comment
Share on other sites

When using ftp you can access the product.css file There you have to add this.

 

If you dont know what you are doing then it should be better to ask a presta specialist to do it for you. Its easy and 2 minutes work. They will need access to your ftp.

Link to comment
Share on other sites

When using ftp you can access the product.css file There you have to add this.

 

If you dont know what you are doing then it should be better to ask a presta specialist to do it for you. Its easy and 2 minutes work. They will need access to your ftp.

 

Thank you for your reply. I want to give it a try myself. Doesn't sound like it's going to be hard.

 

I am not able to find the product.css on the ftp can please tell me the phat to this file.

 

thank you

Link to comment
Share on other sites

Path is: themes/your theme/css/  there you will find product.css

 

So I found themes/classic but there is no css folder. There is however this /themes/classic/assets/css.

 

in there are are bunch of files one is theme.css  maybe I need to use this?

 

I think things are different in 1.7.1. 

Link to comment
Share on other sites

Its complete different, i didnt know it was so different from 1.6

 

I found the file in: themes/classic/_dev/css/components/

 

I only dont know if it works when you add it to this file as a _file in my opninion never will be active. It seems to be compiled.

 

Its a bit more complicated then i thought. I thought everything should be easier, but its more complicated. I have to few experience with 1.7 to give you a proper answer at the moment.

Link to comment
Share on other sites

I fixed it:

 

Go to: assets/css/custom.css

 

and add that line under the message in the folder

 

clear cache and browser cache and it will be like this: https://www.screencast.com/t/UFquyd0Q

 

I have been trying to do this with no success. here what I have and I am sure its wrong

 

/*
.product-variants>.product-variants-item select {width:100%}
 * A template should always ship with an empty custom.css
 */
 
can you please copy and past your code so I fix this?
 
Thanks
Link to comment
Share on other sites

I think you didnt clear your browser cache proper.

 

I see this: http://prntscr.com/f593kb

 

Maybe try another browser like firefox to see. It is changed!

 

I tried that too its the same. After I replied back to you I made some changes again.

 

I just want to make sure that this is correct.

 

I removed the */ and the /* from the custom.css file. Is this right?

 

maybe this is why I am not seeing it?

 

Also I want to thank you for your help in this. You ROCK!

Link to comment
Share on other sites

I dont think thats the reason you are not seeing it. I use Ccleaner to clean my browsers everytime i close them. Just to see changes instant. 

 

The problem will be still in your browser. Maybe you can also make a dns flush just to be sure you are seeing the correct shop.

 

Also i dont think it realy matters if you deleted the */

 

In my testshop i didnt use them. The file looks like this in my testshop:

 

/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
.product-variants>.product-variants-item select {width:100%}
 
You can even remove this phrase:
/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 
It doesnt affect the css, its just a message to remember you if you export your theme you should do that without custom css.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...