change formatting of h2 class="entry title" on frontpage

  • Author
    Posts
  • #43786

    Hi There,

    I am using the “strong” tag in the headline of my posts. However now the “strong” title appears in every archive including the frontpage.

    Is there any way to have the post title in “strong” only on the post page? I know there is a CSS command for the FrontPage and the archives

    {
      font-weight:normal !important;
    }

    but all my attempts were in vain.

    Thank a lot for your assistance.

    Website: weltangucker.de/category/reiseziele/polen/pommern

    #43804
    Zed
    Cryout Creations mastermind

    You should remove the markup from the titles and instead use CSS on only the desired sections:

    .single #content .entry-title {
        font-weight: bold;
    }

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

    it works without .single

    • This reply was modified 7 years ago by Klaus.
Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘change formatting of h2 class="entry title" on frontpage’ is closed to new replies.