Home › Forums › WoodMart support forum › How to change background page color foe a given category page
How to change background page color foe a given category page
- This topic has 14 replies, 2 voices, and was last updated 3 weeks, 1 day ago by Hung Pham.
-
AuthorPosts
-
October 17, 2024 at 5:35 pm #605867
dweb360ParticipantHello
How to make a preset to have the color backround page in
https://www.gourmandisedeluxe.com/DEV/product-category/caviars-caviars/
as
https://www.gourmandisedeluxe.com/caviar-kaspia/
Thank youOctober 17, 2024 at 5:36 pm #605868
dweb360ParticipantHello
Can’t find where to translate : Rupture de stock
in
https://www.gourmandisedeluxe.com/product/brisures-de-truffes-noires/?attribute_pa_quantite=25g
Thank youOctober 18, 2024 at 10:35 am #605986
Hung PhamKeymasterHi dweb360,
1. Background color
Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:
.tax-product_cat .main-page-wrapper { background-color: #06c0cf; background-image: none; }
2. Translation
+ In order to change / translate words. Please make sure you synced the strings first before changing / translating WooCommerce, WoodMart Core plugins and WoodMart theme. You can refer to article
https://xtemos.com/docs-topic/theme-translation/
https://xtemos.com/docs-topic/how-to-make-woodmart-multilingual-with-wpml/+ You are also need to select the language for the backend and theme settings for admin from the admin user profile, please edit the user’s profile and then select the language for that user it will show the same on the backend.
If you have any questions please feel free to contact us.
Regards,
October 18, 2024 at 1:31 pm #606064
dweb360ParticipantHello
Thank you for your reply.
1. You said in envato comments that can be done via Presets!
You are doing it via CSS!
2. Also this a global change for all products category not for a given product category
3. Applied and not working
https://www.gourmandisedeluxe.com/DEV/product-category/caviars-caviars/
Thank youOctober 18, 2024 at 5:34 pm #606161
Hung PhamKeymasterHello dweb360.
You need to go to Theme Settings -> Theme settings presets and create a new preset for the
product_cat
condition as shown on the screenshot https://ibb.co/rmyZxGzRegards,
October 18, 2024 at 6:22 pm #606167
dweb360ParticipantHello,
How to precise in this case the needed product category?
I don,’t want to set the same background for all produits category pages
ThanksOctober 20, 2024 at 11:56 am #606270
Hung PhamKeymasterHello dweb360,
Thanks for your patience.
With Theme Presets, you can select specific categories as well with
Term ID
condition.Best regards,
October 20, 2024 at 9:16 pm #606302
dweb360ParticipantHello,
I try to set background color to #06c0cf when we are on product category page ID = 144
But not workingPlease see:
https://www.gourmandisedeluxe.com/NEW/product-category/a-lapero-kaspia/
Thank youAttachments:
You must be logged in to view attached files.October 21, 2024 at 11:54 am #606444
Hung PhamKeymasterHello dweb360,
I checked your site and the background color is same as you wanted https://ibb.co/WxrpkTt
Regards,
October 21, 2024 at 4:41 pm #606559
dweb360ParticipantHello
Sorry still not working for me, I’m not using any cache plugin, i check also on other devices
Also, I askek my hosting company to check on their side
here what they reply :
https://snipboard.io/U95WDx.jpgI don’t understand how you can see the blue background color on :
https://www.gourmandisedeluxe.com/NEW/product-category/a-lapero-kaspia/Can you retest the url please and confirm?
Thank youOctober 21, 2024 at 5:31 pm #606576
Hung PhamKeymasterHello dweb360,
Please make sure you set background color for Shop page as well https://ibb.co/X4PdH4b
Regards,
October 24, 2024 at 6:49 pm #607454
dweb360ParticipantHello
All categories pages are now blue
Example :
https://www.gourmandisedeluxe.com/NEW/product-category/truffes/truffes-fraiches/
I need only for one some categories
Thank youOctober 25, 2024 at 10:51 am #607545
Hung PhamKeymasterHello dweb360,
Thanks for your patience.
Because you set
product_cat
which will be applied to all categories https://ibb.co/Xk4L3X2 I removed it and it fixed.Best Regards,
October 27, 2024 at 10:15 pm #607894
dweb360ParticipantThank you very much
October 28, 2024 at 10:35 am #607968
Hung PhamKeymasterHi dweb360,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
If you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492
Your feedback is the motivation to improve our work and services.
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register