• Hi there,

    I want to add the tagline line back in. How do I do this?

    It is already typed in under customise but is not showing.

    Cheers,

    Andy

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi Andy, Publication doesn’t display the tagline by default, but you can get it to appear on the front end in Publication with some custom CSS:

    .site-description {
     display: inherit;
    }

    Don’t edit the theme files directly, otherwise your changes will be overwritten every time the theme is updated to the latest version.

    An easy way to add custom CSS is to install the Jetpack plugin and activate the Custom CSS module. You’ll then add your custom CSS in the new stylesheet editor that’ll appear in your dashboard, under Appearance > Edit CSS.

    As alternatives, you could either install a standalone custom CSS plugin, or create a child theme.

    Thread Starter akmckay07

    (@akmckay07)

    Thanks that works great!

    Am I able to increase the tagline font size and drop it down one line?

    Moderator Kathryn Presner

    (@zoonini)

    Sure, you can add more attributes to the code I gave you to change its display.

    font-size is the size attribute, while you can add margin space above the tagline with margin-top.

    Since you didn’t provide a link to your site I can’t see what might look good for you, but here’s a place to get started, and you can adjust the values as you like.

    .site-description {
      display: inherit;
      font-size: 20px;
      margin-top: 10px;
    }

    Here’s a good beginner CSS resource where you can learn more:
    https://htmldog.com/guides/css/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add tagline back in’ is closed to new replies.