Home › Forums › WoodMart support forum › Woocommerce category header image
Woocommerce category header image
- This topic has 7 replies, 2 voices, and was last updated 3 weeks, 2 days ago by Bogdan Donovan.
-
AuthorPosts
-
December 9, 2024 at 12:41 pm #620730
Madoo WebdesignParticipantHello,
I think after the WoodMart theme update the background images from the woocommerce categories are much smaller then normal.
the images are 420px height.How can we change the height to what we has?
and we want the title color in white.https://www.beeldenvallei.nl/product-categorie/abstracte-beelden/
December 9, 2024 at 1:53 pm #620783
Bogdan DonovanKeymasterHello,
The height of the page title does not depend on the size of the background image assigned to it but rather on the option set in the Page Title Size settings. Your page title appears small because your site is set to use the “Small” size (screenshot: https://monosnap.com/file/a16yWB6OkxUPmCiC0bLgCUliARN537), and it displays correctly according to your settings (screenshot: https://monosnap.com/file/h3pgDEKqTzvxl19BluXHRlDTSQcwXn).
To increase the size of your page title, adjust the setting to Default or Large.
Kind Regards
December 9, 2024 at 2:19 pm #620806
Madoo WebdesignParticipantthanks for your reply, this works for desktop.
But there is nothing changed (image height) on mobile devices, is that correct?December 9, 2024 at 3:14 pm #620838
Bogdan DonovanKeymasterEach of the three available page title sizes automatically reduces to the Small size on mobile. However, if you want to customize the page title size on mobile, add the following custom code to the Global Custom CSS area in Theme Settings and adjust the top and bottom padding as well as the font size to suit your needs:
@media (max-width: 1024px) { body .title-size-large { --wd-title-sp: 100px; --wd-title-font-s: 50px; } }
Kind Regards
December 10, 2024 at 11:12 pm #621388
Madoo WebdesignParticipantThanks, this works!
December 11, 2024 at 10:09 am #621447
Bogdan DonovanKeymasterYou are welcome!
December 19, 2024 at 4:30 pm #623967
Madoo WebdesignParticipantHello,
On every page the product title element is very high, is it possible to reduce the height when there is no image?
see example page in private content.December 19, 2024 at 6:54 pm #624009
Bogdan DonovanKeymasterHi,
The size of the page title is not affected by the presence of an image because the image is added as a background and does not influence the height of the page title. The height of the page title is determined solely by the “Page title size” option located in Theme Settings (screenshot https://monosnap.com/file/h3pgDEKqTzvxl19BluXHRlDTSQcwXn). This option sets the size of the page title across all post types simultaneously, including Pages, Blog posts, Shop pages, and so on.
If you want to set a large page title size for one post type and a medium or small size for another, you can use the Theme Settings Presets functionality. This allows you to configure different theme settings for different pages based on enabled conditions.
For example, if you’ve added a background for the page title only on Shop page and want the page title to be large specifically there while small on all other pages:
• Set the global “Page title size” to “Small.”
• Then create a Theme Settings Preset with a conditional name like “shop_page.” (screenshot https://monosnap.com/file/hSSjCHJHdQLSL9otC9oJUgca3EY7UP)
• Assign the condition Post ID -> Equals -> “Your shop page name” to this preset, and set the “Page title size” in the preset to “Large.”As a result, all pages will have small page title size, while the product archive will have, a large size.
More information about Theme Settings preset functionality can be found in WoodMart theme documentation https://xtemos.com/docs-topic/theme-settings-presets/.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register