Support » Theme: Pinboard » how to display tagline only in header

  • I’m using a custom image in my header, but then I’d also like to display the site’s tagline alongside it.

    Currently, the only way to get the tagline into the banner seems to be to select ‘show header text’ in the appearance settings, but that also puts the site title. My custom header image includes the site name in the graphic, so I don’t need the site title again.

    I’m not a programmer, so would prefer to use the CSS theme option to add code to change this.

    My site is not live yet, but is planned to be released in the next day or so. Would like to launch site with tagline next to logo, which bears the company name, which is also the site title.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello Freshkandb,

    Hope you are well today. 🙂
    You can use this code to remove the site title.

    #site-title{
        display:none;
    }

    In the theme CSS option. However I am not sure if this changes will be kept there on a theme update, so you might want to consider using child theme, or plugin like this one https://wordpress.org/plugins/simple-custom-css/

    Thanks,
    Ivan

    Thanks, Ivan, but that also got rid of my logo. My logo contains the company name. I would like to be able to display the tagline (description) next to the logo in the larger font that usually displays the site title.

    I am not sure if I have the skill to create a child theme. I prefer to update custom CSS in theme options. Any other ideas?

    Hey there,

    If you’re going to use a plugin like Ivan mentioned, you could use this CSS:

    #header #site-title a:nth-child(2){display:none;}

    If you were going to make a child theme you might as well look at taking the code out or editing it so the title only appears if no image is there, and the description appears on both. I made you quick child theme:

    https://github.com/gmax21/Pinboard-Simple-Child

    You should be able to just download, upload, activate and do your normal settings.

    Hope this helps. 🙂

    Hi Tim. Thanks so much! I entered the code above in the custom CSS in the theme options and it worked for the most part. I think the font size is a little smaller than I was thinking, but it’s okay.

    I will download the child theme and see how that works. Thanks for doing that for me.

    Enjoy the rest of the weekend!

    Sending more thanks to Tim for the child theme. I downloaded and installed it, and I really like this much better than the code snippet. Thanks! I bumbled around a bit trying to figure out how to upload it, but just followed a hunch and it worked.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to display tagline only in header’ is closed to new replies.