WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change font color of title on showcase template using child theme (13 posts)

  1. menusplus
    Member
    Posted 1 year ago #

    I am using the child theme of Twenty Eleven and having trouble changing the color of the title font on the showcase template. I have be able to change it on the sidebar pages but not on the showcase page. I'm a newbie and would appreciate help.

  2. W.P. Ginfo
    Member
    Posted 1 year ago #

    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.

  3. menusplus
    Member
    Posted 1 year ago #

    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.

  4. alchymyth
    Forum Moderator
    Posted 1 year ago #

    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...

  5. menusplus
    Member
    Posted 1 year ago #

    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.

  6. alchymyth
    Forum Moderator
    Posted 1 year ago #

    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.

  7. menusplus
    Member
    Posted 1 year ago #

    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.

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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;
    }
  9. menusplus
    Member
    Posted 1 year ago #

    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;
    }

  10. W.P. Ginfo
    Member
    Posted 1 year ago #

    Add the following lines to the previous alterations

    margin-top:0.1em; /*change as required*/
    margin-bottom:0;
    padding-bottom:0;
  11. menusplus
    Member
    Posted 1 year ago #

    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.

  12. Andrew
    Forum Moderator
    Posted 1 year ago #

    That's okay, this thread will hopefully provide others experiencing the same issue with guidance.

  13. W.P. Ginfo
    Member
    Posted 1 year ago #

    Please don't forget to mark the thread as 'resolved' [in the right sidebar]

Topic Closed

This topic has been closed to new replies.

About this Topic