Home Forums WoodMart support forum Image preview as Attribute title background

Image preview as Attribute title background

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #276614

    italyana
    Participant

    Hello,

    how I can use the image uploaded from “image preview for this value” as a background title banner in the Attribute product page?
    Like as it works for the categories images.

    Thanks for your kind help
    Andrea

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

    italyana
    Participant

    Before and after example

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

    Hello,

    Unfortunately, there is no option to set the image for an attribute in the admin panel. You can set the one image by means of the custom CSS for all the attribute items.

    Best Regards

    #276748

    italyana
    Participant

    How can I set the custom image in CSS for each attribute?

    Can you please show me an example of CSS code for one attribute.

    Thanks for your support

    Andrea

    #276796

    italyana
    Participant

    I thought of a solution, I can hide the page title and move the content of the “Category description” as the page title.

    But I don’t know how to move it. Can you tell me the code to do this, please.

    Best regards
    Andrea

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

    Hello,

    Please find the option in the Theme Settings > Shop https://prnt.sc/10x6cdc

    Best Regards

    #276874

    italyana
    Participant

    Hello Elise,

    but in the Theme settings, you can only move before or after the product grid.

    What I need is to move it in the title position, in sobstitution (Between the header and the side menu ) like my image attached.

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

    italyana
    Participant

    I remember that you sent me the code for the same needs for an old my website made with your second theme BASEL that I bought some years ago.

    But I lost the code and I don’t know how to do it with woodmart.

    #277100

    Eric Watson
    Participant

    Hello,

    Try to add the following PHP code snippet to the child theme functions.php file to do this

    remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description' );
    add_action( 'woodmart_after_header', 'woocommerce_taxonomy_archive_description' );

    Best Regards

    #277153

    italyana
    Participant

    Perfect it works!

    Thank you for your kind support

    Best regards
    Andrea

    #277366

    You are welcome! If you have any questions please feel free to contact us.

    We will appreciate highly if you spend a couple of minutes and answer the questions provided here: https://8uehqcg4tjy.typeform.com/to/IgyV2EiP

    Best Regards

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