• I’ve been trying to figure this out for days, and I’ve been messing around with the header code with no luck.

    I use the Neoclassical theme, and it is set up to have the blog title and RSS feed button positioned above the header image.

    However, my blog title is in my header and I’ve made my own RSS feed button, so I would like to remove both of these elements.

    I figured out the RSS feed button, but I can’t figure out the title. I would just leave it blank in the “Blog Title” area of my settings, but when I do, my blog title does not show up in Google (or, I would assume, any other) search, as shown here:

    https://www.google.com/search?hl=en&q=penny+plastic&btnG=Google+Search&aq=f&oq=

    I know I should be able to fix this in the code, but I don’t know HTML all that well and I haven’t had any luck.

    Any insight would be much appreciated!

    Thanks ??

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter pennyplastic

    (@pennyplastic)

    Heh, also, “The Adventures Of Penny Plastic” is not what shows up in the browser tab, it’s the address – https://www.pennyplastic.com.

    Any idea why this is?

    In header.php you currently have this:

    <title><?php if (is_single() || is_page() || is_archive()) { wp_title(”,true); } else { bloginfo(‘description’); } ?></title>

    If the user is looking at a post/page/archive then the post title is shown, if not the description is shown. Looking at your blog you don’t have this set in the dashboard.

    Now that it’s not showing up, reinstate “The Adventures Of Penny Plastic” as your blog title in the dashboard. Then put

    <?php wp_title('|', true, 'right'); ?>

    in between the <title> tags, deleting what was already there. The ‘|’ will appear between your blog title and the page name (ie. “Post | The Adventures…”) – you might like to use “-” or “:”.

    Alternatively you can just delete the PHP and put “The Adventures…” in between the title tags.

    It will take some time for Google to change. If you use a Sitemaps plugin you should “ping” or “rebuild” it from it’s admin panel in the dashboard.

    Try removing the &nbsp; – it might get rid of the gap.

    Here is one more approach with css. In style.css, find the following:

    #masthead #logo { font: bold 3.2em Georgia, "Times New Roman", Times, serif; letter-spacing: -1px; }

    to remove some of the space above the header add display:none; so it looks like this:

    #masthead #logo { font: bold 3.2em Georgia, "Times New Roman", Times, serif; letter-spacing: -1px; display: none; }

    Then if you want to remove more space, find the following:

    #container { width: 885px; margin: 0 auto; padding: 20px 0; }

    and change the 20px to 0px

    Then if you want to take even more out, find this:

    #masthead { width: 865px; margin: 0 0 20px 0; padding: 0 10px; text-align: left; }

    and change the 20px to 0px.

    Then login to WP admin and put your blog title back in the Settings/General and that should change what you see in your browser tab.

    Thread Starter pennyplastic

    (@pennyplastic)

    figaro, that totally worked.

    Learning HTML is both exhilarating and incredibly frustrating. It’s great to have such a helpful crowd as a resource, so I thank you all!

    xo

    Thread Starter pennyplastic

    (@pennyplastic)

    bsut, I also fixed my blog title using your last (easier, of course) method.

    As for Google, I haven’t even begun to understand how SEO works, so I will just hope for the best and leave it for another day ??

    Thread Starter pennyplastic

    (@pennyplastic)

    Actually, since we’re still on this Neoclassical theme, I have one other nagging issue that’s been bothering me.

    The theme is set up to have a search bar at the top of the right sidebar that has a title of “Search This Site.”

    https://pearsonified.com/theme/neoclassical/

    For some reason, the search box is showing up on my site, but not the title. Furthermore, when I tried to add it, it worked (I even managed to get aligned to the left, yay me!) but 1) the title showed up BELOW the faint dotted line, which makes it uneven with the left sidebar and 2) it was a link, to a page for my “fashion” tag.

    “Recent Comments” also links to this tag if you click on it:

    https://www.pennyplastic.com/tag/fashion/

    Which is totally bizarre, I have no clue how that happened.

    Anyhow, I would love to figure out what is going on with the search box.

    It looks great now!

    Don’t worry about Google, they’ll come ??

    … and please accept my apologies for giving the incorrect display: hidden; solution. As figaro notes, I should’ve been suggesting display: none;!

    Thread Starter pennyplastic

    (@pennyplastic)

    Chris, no worries at all, it’s all hit or miss, a learning process ??

    Plus, I am careful to save the original code just in case!

    i am not familiar with that theme, but i think editing the php is a bit dangerous so I personally prefer to edit css.

    in your stylesheet find the line of code that styles the #header.
    the second set of code should define the text for the header text or “title”
    once u find this, just add display: none; and then save the change.
    go back to ur blog and guess what, the title displays nothing, but look in IE, still has ur blog name there for SEO!

    simple easy and fast. dont mess with php unless u fully understand it.
    css is a breeze and alot of things can be fixed in css without ever touching php files.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘I Need To Make “Blog Title” Invisible In Neoclassical Theme. Help!’ is closed to new replies.