Only change the color of the post title.

  • Author
    Posts
  • #43487

    Hello,

    I know how to change the color of the post title with customizer, but when I change the color, the color of te text and the text in the widgets also changes.

    I also tried to change the color of the post title with custum css.
    .post-title {color: #008000}

    It doen’t work.

    Is there anyway to only give the title of the post an other color?

    Website: www.debiologischemoestuin.nl

    #43504
    Zed
    Cryout Creations mastermind

    Try this styling:
    – for category post titles

    body .entry-title a:link, body .entry-title a:visited {
        color: #008000;
    }

    – for single post titles

    body .entry-title {
        color: #008000;
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #43516

    No, it didn´t work. Any other suggestions?

    Website: www.debiologischemoestuin.nl

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Only change the color of the post title.’ is closed to new replies.