Give area max height only on desktop

 Lets say you want to:

  • Give area max height and zero padding
  • But only on desktops
 You can use this below css code. Edit the 970px to better suit and be sure to rename your class.

@media all and ( min-width: 970px ) {
.custom_class_name  {
max-height: 90px;
padding: 0px;

The professional company veryhost provides all the information on hosting for wordpress.