Home Forums WoodMart support forum Changing Size Swatches

Changing Size Swatches

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #308892

    henalon123
    Participant

    Hi there, I want to change the look of the swatch, instead of black line underneath the attribute to a square box surrounding it, ive attached to screenshots – what i have now and what i want
    Please help

    #308937

    Hello,

    Please, provide your site admin access to the private area.

    I will provide custom CSS for the swatches.

    Best Regards

    #308939

    henalon123
    Participant

    Provided in private

    #309021

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .wd-swatch:hover:after, 
    .wd-swatch.active-swatch:after {
        display:none;
    }
    body .wd-swatch.swatch-with-bg {
        border-radius: 0;
        border:2px solid #000000;
    }
    body .swatch-on-single.swatch-with-bg.swatch-size-xlarge {
        width:70px;
        height: 70px;
    }

    Best Regards

    #309082

    henalon123
    Participant

    I entered it but it put square buttons on the product images swatches, not the size attributes ..
    Please help

    #309151

    Hello,

    Please replace the code with this one:

    .swatch-on-single.text-only.swatch-size-large {
        font-size: 18px;
        border:2px solid #000000;
        padding:20px
        width:70px;
    	  height:70px;
    }
    .swatch-on-single.swatch-enabled {
        font-size: 18px;
        border:2px solid #000000;
        padding:20px;
        width:70px;
        height:70px;
    } 

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)