RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] Header set content-security-Policy: upgrade-insecure-requests ).main-header .site-title, .main-header .site-title a{ display:block !important; } @media only screen and (max-width: 1023px){ .site-branding img { max-width: 100%; max-height: 200px; } }