Jump to content

Edit History

calgaryx

calgaryx

12 hours ago, Prestashop Addict said:

If you have a vector version of your logo you should create it at the right size 190 x 52 (remove padding in css of #_desktop_logo) Because large image containing text in png or jpg has a very bad rendering on image reduction 😞 

Thanks for your help.

I did some css tweaking and worked good.

I just changed line for width to auto and worked good.

This is my new css code.

 

#header .logo {
    max-width: 13.75rem;
}


@media (min-width: 768px) {
    .col-md-2 {
        float: left;
        width: auto;
    }
}

@media (max-width: 989px) {
   #header .top-logo img {
     max-height: 2.7rem;
    }
}

 

 

calgaryx

calgaryx

1 hour ago, Prestashop Addict said:

If you have a vector version of your logo you should create it at the right size 190 x 52 (remove padding in css of #_desktop_logo) Because large image containing text in png or jpg has a very bad rendering on image reduction 😞 

Thanks for your help.

I did some css tweaking and worked good.

I just changed line for width to auto and worked good.

This is my new css code.

 

#header .logo {
    max-width: 13.75rem;
}


@media (min-width: 768px) {
    .col-md-2, .col-md-3 {
        float: left;
        width: auto;
    }
}

@media (max-width: 989px) {
   #header .top-logo img {
     max-height: 2.7rem;
    }
}

 

 

×
×
  • Create New...