Home › Forums › WoodMart support forum › Problem with brand logo
Problem with brand logo
- This topic has 18 replies, 2 voices, and was last updated 5 months ago by szymon-0481.
-
AuthorPosts
-
February 12, 2024 at 2:28 pm #539044
szymon-0481ParticipantHi
I have a problem with the size of the brand logo.
In the attributes (Marke), I set an image for the manufacturer STAHLCO “logode_30t.webp” with dimensions of 137x30px.
However, on the “Single product layout” and “Product archive layout” pages, it uses a different version of this file “logode_30t-300×300” with dimensions of 300x300px (scaled appropriately).
How to set it to use the file specified in the brand attribute?Greetings
SzymonFebruary 12, 2024 at 8:12 pm #539274
Hung PhamKeymasterHi szymon-0481,
Thanks for reaching to us.
Please provide URL of the mentioned page, so I can take a closer look.
Regards,
February 12, 2024 at 8:16 pm #539277
szymon-0481ParticipantHi
archive products – https://schmiede.stahlco.de/02-zwirbeln/
single product – https://schmiede.stahlco.de/korb-kunstschmiede-zwirbel-101-70×70-mm-6×6-mm/Greetings
SzymonFebruary 14, 2024 at 7:24 am #539791
Hung PhamKeymasterHi szymon-0481,
Thanks for your patience.
I checked and realized that brand logo worked as you expected https://prnt.sc/Dgf6NPbAMRFH
Please let me know if you need further helps.
Regards,
June 18, 2024 at 3:45 pm #573561
szymon-0481ParticipantHi
1. archive products: https://schmiede.stahlco.de/02-zwirbeln/
There is a problem that I am writing about (attached screenshot “product_archive_brand.png” – error in red frame).
In the same Polish store the problem does not occur: https://kute.kurek.pl/02-koszyki/
2. product page: https://schmiede.stahlco.de/korb-kunstschmiede-zwirbel-101-70×70-mm-6×6-mm/
Attached is a screenshot (“product_page_brand.png”). The element you checked is indeed OK (green frame). However, there is already a problem in the gallery (red frame).
In fact, it would be best to remove the logo from the gallery images on the product page (because it is duplicated with the one on the right) – I just don’t know how to do it…
Warning:
There is a problem with the “x” characters in the links placed in the message – that’s why they don’t work… please correct them manually in the links to “x” in browser.Greetings
SzymonAttachments:
You must be logged in to view attached files.June 19, 2024 at 9:18 am #573692
Hung PhamKeymasterHi szymon-0481,
1. Please make sure you created Product Attributes, you can refer to the following documentation article https://xtemos.com/docs-topic/variable-products-and-swatches/
2. Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:
.woocommerce-product-gallery .product-labels{ display: none; }
Regards,
June 19, 2024 at 2:55 pm #573830
szymon-0481ParticipantHi
1. Yes, we have the attribute (“Marke”) – everything is OK here. The only problem is that instead of using the image attached in the attribute (137x30px) it converts it to a 300x300px version (detailed description in the first message).
We use a plugin to create images in different dimensions (Smart Image Resize PRO). However, it should not have an impact since I provide a specific file/size (137x30px) when creating the attribute. But, it looks to me like it is using the version created by this plugin instead of the one specified in the attribute.However, we have exactly the same store in the Polish language version (with resize plugin) and there are no such problems there.
2. CSS helped, thank you.
Greetings
SzymonJune 20, 2024 at 2:53 pm #574186
Hung PhamKeymasterHi szymon-0481,
It seems caused by the cache, I re-selected 137×30 logo and it worked again. https://ibb.co/NWpYfKp
Regards,
June 21, 2024 at 11:49 am #574411
szymon-0481ParticipantHi
What browser and operating system do you use and from what country?
I cleared the WP cache, browser cache, CDN cache, tested on different browsers, etc. and still unchanged.
I re-selected 137×30 logo too, but it didn’t help either.Regards
SzymonJune 22, 2024 at 11:49 am #574634
Hung PhamKeymasterHi szymon-0481,
I tested on MacBook with Chrome browser. I checked again and attribute images couldn’t load due to incorrect url https://ibb.co/gZ8yHdy
Regards,
June 24, 2024 at 2:34 pm #574964
szymon-0481ParticipantHi
Because there is no such file… The problem is that I provide a different file in the attribute setting and the page displays a different one.
Attached is a screenshot of the settings (media_file.PNG, red frame) and the website (page_file.png, red frame). There are different files….Regards
SzymonAttachments:
You must be logged in to view attached files.June 25, 2024 at 8:45 am #575163
Hung PhamKeymasterHi szymon-0481,
Please replicate the issue, then I can take a look closer.
Regards,
June 25, 2024 at 11:39 am #575262
szymon-0481ParticipantHi
I don’t understand…. I described the problem in several previous messages (I also attached screenshots). The problem still persists, so I don’t know what to “replicate”.
As I mentioned, the problem is that instead of displaying the image set in the product attribute, it replaces it with another one. Screenshots in the last message (file names in red frame):
– media_file.png – file selected in the product attribute
– page_file.png – file displayed on the page
Sample page: https://schmiede.stahlco.de/02-zwirbeln/Regards
SzymonJune 26, 2024 at 9:17 am #575523
Hung PhamKeymasterHi szymon-0481,
Would you mind if I deactivate extra plugins for testing? Please confirm me back.
Regards,
June 26, 2024 at 11:17 am #575577
szymon-0481ParticipantHi
Yes, you can deactivate it for testing. However, please enable them again later because this is the production version of the store.
The only plugin that has any influence on images is “Smart Image Resize PRO”, but I also have it on the Polish version of the store with an identical configuration and there are no problems https://kute.kurek.pl/02-koszyki/
Regards
SzymonJune 27, 2024 at 10:18 am #575837
Hung PhamKeymasterHi szymon-0481,
Please go to Tools > Regenerate Thumbnails and regenerate all thumbnails, then double check to see if it works.
Regards,
June 29, 2024 at 12:14 pm #576405
szymon-0481ParticipantHi
I did rengenerate thumbnails – it didn’t help.
However, if substitute any other image, everything works. So I uploaded the appropriate logo with a different file name and set this file in the attribute – the problem disappeared.
Please close this topic.Regards
SzymonJune 29, 2024 at 6:13 pm #576468
Hung PhamKeymasterHi szymon-0481,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
Regards,
August 21, 2024 at 4:53 pm #591558
szymon-0481ParticipantHi
Please close this topic.
Regards
Szymon -
AuthorPosts
The topic ‘Problem with brand logo’ is closed to new replies.
- You must be logged in to create new topics. Login / Register