• Hello, I am trying to add padding to the boxes so that the text is not squished inside and also I am trying to make the box have straight corners instead of rounded, but the CSS is not making those specific changes.

    My code is as follows:

    .searchandfilter #ofcategory{
    font-size:0.8em !important; -this is working fine
    color:#000 !important; -this is working fine
    border: 2px solid #000 !important;
    padding: 20px !important; – NOT WORKING
    background: #fff !important; -this is working fine
    border-radius:0px !important; – NOT WORKING
    }

    .searchandfilter input{
    border: 2px solid #000 !important; -this is working fine
    font-size:0.7em !important; -this is working fine
    margin:3% !important; – NOT WORKING
    }

    (this code below was my plan B for adding padding to the submit button but it´s also not working)

    .searchandfilter input a{
    padding:2% !important;
    }

The topic ‘CSS Not Working’ is closed to new replies.