.post-title {display:none;} .bar1 { background-color: #B2D7F2; height: 130px; margin-bottom:15px; } .bar1 {display:none;} With the suffix I need to add duplicates of this condition so the element will show on mobile for each url of the six urls (i.e. ..., and ..., and so on)