This topic has 12 replies, 5 voices, and was last updated 9 years, 8 months ago ago by Robert Hall
Hello,
Some of the CSS definitions i onfigured in the theme options are not displayed, and seems they are overwritten by other css definitions.
when i looked under the page “View Source” i saw a huge chunk of CSS code which is defined in the page header itself, and d=thus override whatever i put in style.css or custom.css.
where this code comes from, and how can i remove it or override it?
Hello,
Sorry, but your question is a bit unclear.
What changes are you trying to make?
You must modify only custom.css, not the original style.css file as the changes will be lost in there when you update theme. Or you can create child theme and make changes in its style.css.
https://www.8theme.com/demo/docs/woopress/#!/2_child_theme
Thank you.
Regards,
Eva Kemp.
Hi Eva,
yes, i am changing the custom css only.
i created the following css tag for the breadcrumbs:
.page-heading .title {
font-size: 24px;
font-weight: 700;
}
but the problem is there is an auto-generated css code under the page <header> tag that override this one. how can i mitigate it?
Hello.
If i understood you well the text you would like to change can be modified with this code in custom.css:
.woocommerce-breadcrumb {
font-size: 24px;
font-weight: 700;
}
With best regards
Brian johnson
Hi Brian,
thanks – this indeed change the breadcrumbs itself, but i need to modify the font size of the product name which appears in the breadcrumb area, above the breadcrumb itself
thanks!
Hello,
Sorry for misunderstanding.
Please try to use this code:
.page-heading .title {
font-size: 24px !important;
font-weight: 700 !important;
}
Thank you.
Regards,
Eva Kemp.
Hi,
How can I change the font-family, size and color of Featured and New Products on the Homepage?
What would be required to put into the custom.css.
Many Thanks!
Hello @mercy20,
Please add this code in custom.css file:
//For active opened tab:
.products-tabs .tab-title.opened {
color: #E5534C;
font-family: opensans;
font-size: 15px;
}
//For non-active tab
.products-tabs .tab-title {
font-size: 16px;
color: #252525;
font-family: opensans;
}
Change values to yours.
Regards,
Eva Kemp.
Hi Eva,
Thanks for your prompt response.
The code isn’t working. I’m referring to the font of the product names of the LATEST and FEATURED products like the one here (https://www.8theme.com/demo/legenda/) i.e. FASHION JACKET.
Many Thanks.
Please try to put this code into the custom.css:
.slider-container .product-name a{font-family: 'Dancing Script';color:pink;font-weight:bold;}
With best regards
Brian Johnson
It Worked! Thank You Very Much.
Hello,
You’re welcome!
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up