Home › Forums › WoodMart support forum › Image preview as Attribute title background
Image preview as Attribute title background
- This topic has 10 replies, 3 voices, and was last updated 3 years, 8 months ago by Elise Noromit.
-
AuthorPosts
-
March 26, 2021 at 3:09 pm #276614
italyanaParticipantHello,
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
AndreaAttachments:
You must be logged in to view attached files.March 26, 2021 at 3:12 pm #276621
italyanaParticipantBefore and after example
Attachments:
You must be logged in to view attached files.March 26, 2021 at 9:46 pm #276726
Elise NoromitMemberHello,
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
March 26, 2021 at 10:56 pm #276748
italyanaParticipantHow 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
March 27, 2021 at 9:40 am #276796
italyanaParticipantI 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
AndreaAttachments:
You must be logged in to view attached files.March 27, 2021 at 3:53 pm #276855
Elise NoromitMemberMarch 27, 2021 at 5:45 pm #276874
italyanaParticipantHello 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.March 27, 2021 at 5:47 pm #276876
italyanaParticipantI 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.
March 29, 2021 at 6:42 am #277100
Eric WatsonParticipantHello,
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
March 29, 2021 at 8:25 am #277153
italyanaParticipantPerfect it works!
Thank you for your kind support
Best regards
AndreaMarch 29, 2021 at 8:20 pm #277366
Elise NoromitMemberYou 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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register