Forums

Theme's Header Text still showing with "No" clicked for the Header Display Text (5 posts)

  1. ericjj4
    Member
    Posted 1 year ago #

    Hello,

    I have created a custom header for my blog site so I wish to not have the theme site title/tagline showing. There is an option in Appearance > Header under Header Text that says "Display Text." I have clicked the option for No, yet the site title/tagline still shows through my custom header. I know if I go to Setting > General I can remove the site title and tagline and my site will look good aesthetically. However this is very poor from an SEO point of view. Does anyone have a solution to keep the title and tagline in the Settings yet have them not display through my custom header. I would appreciate any input. I am using the Summ Theme and my site is http://greenandbrownbedding.com. Thank you in advance.

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    the theme is faulty; or the 'no header text' was never implemented properly;

    edit functions.php and replace:

    .siteName a,.description{ color:#<?php header_textcolor() ?>}

    with:

    .siteName a,.description{<?php if(get_header_textcolor()=='blank') { echo 'visibility: hidden;'; } else { ?> color:#<?php header_textcolor();  } ?>}
  3. Axiu
    Member
    Posted 1 year ago #

    Please add

    if (!NO_HEADER_TEXT) { ?><style type="text/css"> .siteName,.description { text-indent: -99999px; } </style> }

    in the function.php, inside

    function header_style() {...

    Sorry about my mistake~

  4. ericjj4
    Member
    Posted 1 year ago #

    Thank you both very much for responding. I really appreciate the help. Axiu, thank you for a great theme.

  5. ericjj4
    Member
    Posted 1 year ago #

    Ah, now my header is going nuts. Looks like every link on my page is in the header and my nav bar is gone. Do either of you have any idea how that could have happened? I'd appreciate any help once again. Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic