Resolvedcatigory font colour and size in homepage 4
- This topic has 9 replies, 2 voices, and was last updated 9 months, 2 weeks ago by
Althemist.
- AuthorPosts
- July 31, 2022 at 10:02 pm #34561
mohamed.nor.eldin
Participanthello
please check the attached image where I could change the category color from white as you see font does not appear also font size or style
https://postimg.cc/bsRQRh9vif you check 2 and image I try through the editor but it just gives me a change in the number of category not the style
https://postimg.cc/SnvYZN2mAugust 1, 2022 at 10:03 am #34567Althemist
KeymasterHello mohamed.nor.eldin,
This color can’t be changed. It’s pre-defined in the theme’s CSS. You’d need to choose your images carefully, so they stay readable.
August 16, 2022 at 4:56 pm #34727mohamed.nor.eldin
Participanthello please it has to be a solution for that I tried many images but the same issue it is too hard to work with something like that if there is direct code for CSS to change it I think it will be useful
please check these link for different image sample
https://postimg.cc/CZ91kxhC
https://postimg.cc/w7cYkTV5
https://postimg.cc/w7cYkTV5August 17, 2022 at 12:12 pm #34732Althemist
KeymasterYou can set each banner to dark or light color scheme. Other than that, as I alredy explained, the only woay to change the color with a custom color would be with CSS. Something like this:
.wpb_babystreet_banner a h4, .wpb_babystreet_banner a h5, .wpb_babystreet_banner a h6, .babystreet_banner_buton { color: #your-color-here !important; }
August 17, 2022 at 7:17 pm #34736mohamed.nor.eldin
Participantwould you please tell me where I could do that until I try that
You can set each banner to a dark or light color scheme.
August 19, 2022 at 1:46 pm #34739Althemist
KeymasterIn the banner settings there is an option to choose color scheme (dark or light), so the texts would change to white or black, depending on the background you use.
August 19, 2022 at 6:54 pm #34742mohamed.nor.eldin
ParticipantI am sorry but I could not find that option you talked about if you check my attachment here
this is the only option in woocommerce – products – categories – ( any product ) – Header Style it does not affect the issue, please check the link for a screenshot
I checked on the homepage banner settings there is an option to choose color scheme (dark or light) but it dose not exist as option, please check the link for a screenshot
August 23, 2022 at 10:21 am #34750Althemist
KeymasterThe second screenshot is from the categories carousel module, not from banners. For categories carousel the only option would be with CSS.
li.product-category.product a h2, div.product-category.product a h2 { color: #your-color-here !important; }
The dark/light mode is only for the banners module.
August 24, 2022 at 8:06 pm #34785mohamed.nor.eldin
Participanthello
this code works perfectly
li.product-category.product a h2, div.product-category.product a h2 {
color: #your-color-here !important;
}but it does not solve the issue cause it is still so hard to find font color suitable with the images background but I think it may solve that is it possible to add strokes to the font by CSS code to separate boundaries i think it may solve it
August 25, 2022 at 1:29 pm #34794Althemist
KeymasterYes, this can be achieved with text-shadow. Here are examples:
- AuthorPosts
You must be logged in and have valid license to reply to this topic.