Hi,
I mange to change the color for the entry title by typing the following in custom CSS:
.flex-caption h2.entry-title {
color: #dd3333;
}
But I can’t figure out how to change the color for cat-title and the “Read more” text.
And one more question. Is it possible to remove or define hos much of the text from a post I want to display on the front page under the post?
Best regard
cvoersaa
I would like to know this as well.
movin
3
Hi Cvoersaa,
I hope you are well today and thank you for your question.
But I can’t figure out how to change the color for cat-title and the “Read more” text.
You can change it by using the following CSS code.
.flex-caption ul.post-categories a {
color: #337ab7;
}
div.flex-caption .read-more a {
color: #000;
}
Please change the color value in the above code to whatever you want to use by referring the following pages.
http://www.w3schools.com/html/html_colorvalues.asp
http://www.w3schools.com/tags/ref_colorpicker.asp
And one more question. Is it possible to remove or define hos much of the text from a post I want to display on the front page under the post?
You can try achieving this by using the attached small plugin that contains the following code.
function custom_excerpt_length( $length ) {
if(is_home() || is_front_page() ){
return 40;
}
return $length;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
Change word length 40 in the above plugin code to whatever you want to display.
Best Regards,
Movin