Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Overview

...

We always want to make sure to start with the smallest first set first and then move to the css needed for larger displays.

Code Block
titleSmall Screens - Mobile
#main-header .company-logo img {
    max-width: 110px;
    max-height: 30px;
}
Code Block
titleMedium Screen - Tablets
@media only screen and (min-width: 40.063em) {

  #main-header .company-logo img {
    max-width: 220px;
    max-height: 60px;
  }
}
Code Block
titleLarge Screen - Desktop
@media only screen and (min-width: 64.063em) {

  #main-header .company-logo img {
    max-width: 220px;
    max-height: 60px;
  }
}

Override.css

So now that we know what css elements we are working with, we can now take this information and add in our own styles to the override.css file

Panel

Main Menu StoreFronts File Manager Search Override.css

Image Added

Simply click on "override.css" file name to edit the file. You should see the screen below.

Image Added

Now that we have the override.css file open we can now add our new styles to change the CSS.

Image Added

 Now that we have saved our overrides we can go back to the site and inspect our logo again to see our changes in place.

Image Added

 

Note

Please note that you may also need to make updates to the " .fix-nav #main-header .company-logo img " style as well. This style affects the image as someone scrolls down the page. There are also three (3) different styles to control this as well.