• Resolved TheLifeOfNeil

    (@thelifeofneil)


    I’ve done a fair amount of searching and I’ve found at least two bits of CSS that will hide BOTH the Site Title and Tagline but I was hoping someone might be able to help me hide the Site Title only and leave the Tagline visible.

    Any help would be greatly appreciated. =)

    The website in question is https://www.AlternativeFreedom.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • You should be able to hide it using the class

    .site-title {
       display: none;
    }

    that won’t affect the tagline as it does not have that class.

    But be sure that you are using a Child Theme or Custom CSS plug-in!

    Thread Starter TheLifeOfNeil

    (@thelifeofneil)

    Unfortunately that didn’t seem to hide the Site Title or the Tagline… but thank you very much for the attempt. =)

    [ https://codex.www.ads-software.com/Forum_Welcome#No_Bumping ]

    Thread Starter TheLifeOfNeil

    (@thelifeofneil)

    I figured it out myself. The following hid the Site Title but NOT the Tagline, perfectly.

    a.site-title {
    font-size:0;
    }

    Also, I have some social buttons (twitter, etc) in line with the Tagline. So once I managed to hide the Site Title the Tagline was sitting so close to the top of the page that the top of the social buttons were cut off a bit… So the following code added enough of a margin to the Tagline to allow my social buttons to not get cut off.

    .site-description {
    margin:1em;
    }

    Thank you anyway =)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How To Hide The Site Title But KEEP The Tagline?’ is closed to new replies.