Add the following code to the `style.css’ of your CHILDtheme:
.entry-title, .entry-title a {
color: rgb(223, 4, 34); /* change to desired color*/
text-decoration: none;
}
You don’t have a childtheme yet?
1. Install and activate ‘one click childtheme plugin
2. create the childtheme
3. activate the childtheme
4. Make the changes in the CHILDtheme!
– copy php files / css-file(s) of the original theme [as required] to the childtheme directory and edit them as required.
I am working with the child theme and I did that. It worked for the sidebar pages BUT did NOT work for the Showcase template page.
please post a link to the problem.
you might need to clear the browser cache – press CTRL F5 or reload the web page a few times…
Here is the link http://restaurantmenucovers.biz/menu-covers/
The title is Menu Covers, it disappears on the showcase template, and stays black on default template.
I have it set to default right now. If you want to see it at showcase respond and I’ll change it again.
the showcase template is using a h2.entry-title
– different from the default which is using a h1.entry-title
;
but in any case, formatting .entry-title
and .entry-title a
should change the color (or whatever formatting you apply) of those titles.
Did you check out the link, it did not change the color on the title on the default template only on the pages with the sidebar template. If I use the showcase template the title does not display. I have now changed that page to the showcase template. Poof! Title gone!
You will see that the other pages have the color changed on the heading but not the showcase or default template pages.
That’s because of this CSS:
article.intro .entry-title {
display: none;
}
So try adding this to your child theme CSS:
article.intro .entry-title {
display: block;
}
That changed the color!
Now the problem is that the title is too close to the header and the space between the title and the content is too big.
I had reduced the space between the header and title and the title and content PREVIOUSLY which worked on the side bar template but seems to have screwed up the showcase template. The following is the code I put into the child theme to take the spacing out.
#main,
.singular.page .hentry {padding:0;}
.hentry, .entry-content {
padding: 0;
}
Add the following lines to the previous alterations
margin-top:0.1em; /*change as required*/
margin-bottom:0;
padding-bottom:0;
Thanks for the help, don’t know if it worked though, I changed to another theme that has many more options and is working out great.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
That’s okay, this thread will hopefully provide others experiencing the same issue with guidance.
Please don’t forget to mark the thread as ‘resolved’ [in the right sidebar]