• Resolved p4rker

    (@p4rker)


    Hi, thanks for this beautiful theme!
    Most customizations in my child theme worked smoothly so far, and I have also managed to replace the posts page BG image. But how can I change the title to “Aktuelles” instead of the (general) site description ? Is this possible in functions.php ?

    THANK YOU!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter p4rker

    (@p4rker)

    PS: Ideally I would like to hide / modify the header on the category pages as well… thanks!

    Moderator Kathryn Presner

    (@zoonini)

    @p4rker Given the way the theme is constructed, it’s probably simpler to do this with CSS rather than changing template files in your child theme. Here’s something to get you started:

    @media screen and (min-width: 46em) {
      /* Hide tagline on blog and category pages */
      .blog .site-description, .category .site-description {
        visibility: hidden;
      }
      /* Add fake header text on blog and category pages */
      .blog .site-description-wrapper::after, .category .site-description-wrapper::after {
        content: "Aktuelles";
        color: #e8e9ea;
        font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-style: normal;
        font-size: 2em;
        font-weight: 400;
        text-transform: uppercase;
        margin: 0 auto;
        display: block;
        margin: 0 auto;
        width: 120px;
      }
    }
    /* Hide on smaller screens */
    @media screen and (max-width: 46em) {
      .blog .site-description, .category .site-description {
        display: none;
      }
    }
    

    You can adjust as needed.

    Thread Starter p4rker

    (@p4rker)

    Kathryn, thanks a million!

    Moderator Kathryn Presner

    (@zoonini)

    You’re welcome!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I change the title on posts page?’ is closed to new replies.