Make WordPress Core


Ignore:
Timestamp:
06/08/2014 07:12:46 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: adjust background size of header image(s) for small devices. Props senlin, fixes #26856.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentythirteen/inc/custom-header.php

    r28693 r28701  
    102102                        background-size: 1600px auto;
    103103                }
     104                @media (max-width: 767px) {
     105                        .site-header {
     106                                background-size: 768px auto;
     107                        }
     108                }
     109                @media (max-width: 359px) {
     110                        .site-header {
     111                                background-size: 360px auto;
     112                        }
     113                }
    104114        <?php
    105115                endif;
Note: See TracChangeset for help on using the changeset viewer.