Home Forums WoodMart support forum Problem with brand logo

Problem with brand logo

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #539044

    szymon-0481
    Participant

    Hi

    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
    Szymon

    #539274

    Hung Pham
    Keymaster

    Hi szymon-0481,

    Thanks for reaching to us.

    Please provide URL of the mentioned page, so I can take a closer look.

    Regards,

    #539277

    szymon-0481
    Participant
    #539791

    Hung Pham
    Keymaster

    Hi 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,

    #573561

    szymon-0481
    Participant

    Hi

    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
    Szymon

    Attachments:
    You must be logged in to view attached files.
    #573692

    Hung Pham
    Keymaster

    Hi 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,

    #573830

    szymon-0481
    Participant

    Hi

    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
    Szymon

    #574186

    Hung Pham
    Keymaster

    Hi szymon-0481,

    It seems caused by the cache, I re-selected 137×30 logo and it worked again. https://ibb.co/NWpYfKp

    Regards,

    #574411

    szymon-0481
    Participant

    Hi

    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
    Szymon

    #574634

    Hung Pham
    Keymaster

    Hi 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,

    #574964

    szymon-0481
    Participant

    Hi

    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
    Szymon

    Attachments:
    You must be logged in to view attached files.
    #575163

    Hung Pham
    Keymaster

    Hi szymon-0481,

    Please replicate the issue, then I can take a look closer.

    Regards,

    #575262

    szymon-0481
    Participant

    Hi

    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
    Szymon

    #575523

    Hung Pham
    Keymaster

    Hi szymon-0481,

    Would you mind if I deactivate extra plugins for testing? Please confirm me back.

    Regards,

    #575577

    szymon-0481
    Participant

    Hi

    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
    Szymon

    #575837

    Hung Pham
    Keymaster

    Hi szymon-0481,

    Please go to Tools > Regenerate Thumbnails and regenerate all thumbnails, then double check to see if it works.

    Regards,

    #576405

    szymon-0481
    Participant

    Hi

    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
    Szymon

    #576468

    Hung Pham
    Keymaster

    Hi 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,

    #591558

    szymon-0481
    Participant

    Hi

    Please close this topic.

    Regards
    Szymon

Viewing 19 posts - 1 through 19 (of 19 total)

The topic ‘Problem with brand logo’ is closed to new replies.