calgaryx Posted November 18, 2024 Share Posted November 18, 2024 (edited) Hi there. Few days ago i installed Prestashop 8.2. It is really good software. I use default theme (Classic) that came preinstalled. They look good. I like them. But i am having some issue with my logo on desktop and mobile device. It does not matter what size u upload it will render to smaller size. Original size is 373x102 but render to 160x44px on desktop version and even much smaller on mobile version (84x24). Then my logo look really small. I have installed (Classydevs Custom CSS and JS ) module. I would like to have on desktop (279x76 px) and (186x51 px) on mobile. How do i can that please. Any idea, suggestion please. Thanks Edited November 18, 2024 by calgaryx Solved (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 18, 2024 Share Posted November 18, 2024 In classic theme logo largest width is 190px, if you want more you need to change template Link to comment Share on other sites More sharing options...
calgaryx Posted November 18, 2024 Author Share Posted November 18, 2024 16 minutes ago, Prestashop Addict said: In classic theme logo largest width is 190px, if you want more you need to change template Thanks for your replay. I set 190px width for desktop. It looks much better. But i am having problem with mobile device. This is my css breakpoints for mobile. #header .logo { max-width: 190px; } @media (max-width: 989px) { #header .top-logo img { max-width: 190px; max-height: 2.7rem !important; } #header .top-logo img { max-width: 190px; max-height: 2.7rem; } } my website https://www.melekkitchen.com Any idea or suggestion for mobile device please? Thanks Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 18, 2024 Share Posted November 18, 2024 Can't access to your website, cloudflare blocks 😞 Link to comment Share on other sites More sharing options...
calgaryx Posted November 18, 2024 Author Share Posted November 18, 2024 37 minutes ago, Prestashop Addict said: Can't access to your website, cloudflare blocks 😞 Sorry about that. i have allow only USA and Canada. Can you try now i just unblocked. Thanks Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 18, 2024 Share Posted November 18, 2024 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 😞 Link to comment Share on other sites More sharing options...
calgaryx Posted November 18, 2024 Author Share Posted November 18, 2024 (edited) 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; } } Edited November 19, 2024 by calgaryx (see edit history) Link to comment Share on other sites More sharing options...
Divine Posted November 18, 2024 Share Posted November 18, 2024 Don't forget to edit your first post and to add [Solved] in the title Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now