Jump to content
Lasse Jensen

SOLVED How To Increase size of Attribute Color (texture)

Recommended Posts

Posted (edited)

Hi

I use prestashop 1.7.5.2

I want to make the icons for the attribute colors (where I have a texture) to be bigger, but I cant seem to find were to change this.

I found to change the size of the drop down menus in  the theme.css file (I use Leo travel gear theme):

Quote

.product-variants {
  border-top: 1px solid #eaeaea; }
  .product-variants > .product-variants-item {
    margin: 1.25rem 0; }
    .product-variants > .product-variants-item select {
      border: 1px solid #eaeaea;
      padding: 2px;
      outline: none;
      margin-top: -0.625rem;
      width: 12.75rem; 
      height: 2.5rem; }

But cant seem to find any where I can change the size of the texture icons...

I have seen a lot of old posts where they change the product.css but that dont seem to be the case anymore:

 

 

 

Edited by Lasse Jensen (see edit history)

Share this post


Link to post
Share on other sites

I can change the size of the hidden radio buttons, but that dosen't have any effect on the textures...

Does anyone have a clue?

image.png.6ae01c86584e7b811e43705742366f6e.png

Share this post


Link to post
Share on other sites

Have you tried changing the height and width in same stylesheet.css file and look for

.color, .custom-checkbox input[type="checkbox"]+span.color {

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Glad its working for you

To mark this solved goto your first post click edit and add SOLVED to the tile

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More