566px by 64px - site_logo.png
480px by 54px - site_logo_med.png
320px by 36px - site_logo_small.png
280px by 32px - site_logo_tiny.png
These are simply my large site logo image, reducing the size for each smaller image.
First I replaced the codes in the overall_header.html to show my logo and description on hover.
Code: Select all
<div id="site-description">
<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
<a id="logo" href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="{SITE_DESCRIPTION}">{SITE_LOGO_IMG}</a>
</div>
I listed the large site_logo image in the prosilver/theme/imageset.css
Code: Select all
.imageset.site_logo {
background-image: url("./images/site_logo.png");
padding-left: 566px;
padding-top: 64px;
}
So I added a new line at the bottom of the prosilver/theme/imageset.css
Code: Select all
@media only screen and (max-width: 900px), only screen and (max-device-width: 900px) {
.imageset.site_logo {
background-image: url("./images/site_logo_med.png");
padding-left: 480px;
padding-top: 54px;
}
}
When the responsive style kicks in at 700px the site_logo image drops so below the
/* Logo block
.Sideways mobile view needs site_logo image in the prosilver/theme/responsive.css
Code: Select all
.imageset.site_logo {
background-image: url("./images/site_logo_med.png");
padding-left: 480px;
padding-top: 54px;
}
In the prosilver/theme/responsive.css add it in the 500px section.
Code: Select all
@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
.imageset.site_logo {
background-image: url("./images/site_logo_small.png");
padding-left: 320px;
padding-top: 41px;
}
Code: Select all
@media only screen and (max-width: 350px), only screen and (max-device-width: 350px) {
.imageset.site_logo {
background-image: url("./images/site_logo_tiny.png");
padding-left: 280px;
padding-top: 32px;
}
You can check out the responsive sizes here ->