.pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 { padding: 10px!important; width: 100%!important; border: 2px solid lightgray; border-radius: 10px; text-align: center; box-shadow: 0 5px 5px 1px; } .pwb-brands-cols-outer{ display: grid; grid-template-columns: repeat(auto-fill, minmax(110px,15%)); grid-gap: 12px; margin: auto!important; } .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3:hover{ box-shadow: 0 6px 7px 3px ; } .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3>p:first-child { height: 25px; overflow: hidden; font-size: 14px; background: #454343; color: white; border-radius: 10px; } .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 p a { color:white!important; display:none!important; } .pwb-brands-col3{display:block!important;}