• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 05.12.19, 13:45
  • Opened by: Thomas Bessat
  • Closed by: Fred
  • Closed on: 03.01.20, 15:07
  • Reason: Closed
  • Comment: Glad to help!

Ticket #16383 - Logo Resize

Hello Marek,

I have a problem on my website (you can access to the BO if you want to) with the size of the logo in the header, i’m not an expert so I could not solved it on my own.

When I upload a logo (Appearance → Theme & Logo), it’s look good on my macbook but when I switch to a computer screen, it’s look really small. And if I get the size correct my computer, the retina’s screen will show a huge logo that is oversized.

I tried different sizes of squares, rectangles, … still have it.

I also tried with a custom CSS code I found here on the support (#header .logo {max-width:150px}) but it looks like nothing happens, even if I empty cache.

Do you have a clue why this is happening?

Also, I have an other question, less important but if you know how to remove the “Product Details” tab on the product page and have only the tabs I have set, would be great :)

Thank you in advance !

Attachments:

Capture d’écran 2019-12-05 à ... (603.9 KiB)

Comments

Fred 05 Dec 2019, 17:43

Try to add CSS fix to the Theme Settings → Customer CSS:

body .header_logo img.logo {max-height:100px}

Don’t forget about prestashop cache

Thomas Bessat 05 Dec 2019, 18:30

Hello Fred,

Thank you ! It worked perfectly :)

Last question : do you know how I can remove the “product details” tab on the product page? I set 2 others tab, but this one as no information I need to show.

Thanks again

Fred 06 Dec 2019, 10:33

Try this:

#main .tabs-container .nav-item:first-child {display:none}
Thomas Bessat 06 Dec 2019, 13:22

Thank you for your answer :)

It worked but not as I expected, as it only hide the text “Product Details” but the content on this tab is still appearing.

The labels Reference / In Stock / Data Sheet are the ones I need to remove :)

Fred 06 Dec 2019, 13:34
#product-details {display:none}