• Resolved showgirl

    (@showgirl)


    I have been trying for hours to hide my blog title without hiding my logo with no success. It’s def in my header file but I’m not sure where, I have put display:none in various places with no success and even used <–! –> but it just seemed to hide my whole site. Help please, I’m using jewelry box and have got my blog title as “xx” for now. My site is https://www.urbanspirit.co.uk and my header code is below:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="https://www.w3.org/1999/xhtml">
    
    <head profile="https://gmpg.org/xfn/11">
    
    	<title><?php bloginfo('name') ?><?php if ( is_404() ) : ?> &raquo; <?php _e('Not Found', 'jewelrybox') ?><?php elseif ( is_home() ) : ?> &raquo; <?php bloginfo('description') ?><?php else : ?><?php wp_title() ?><?php endif ?></title>
    
    	<meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    
    	<meta name="generator" content="WordPress <?php bloginfo('version') ?>" /><!-- LEAVE FOR STATS -->
    
    	<meta name="description" content="<?php bloginfo('description'); ?>" />
    
    	<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php bloginfo('name') ?> RSS 2.0 Feed" />
    
    	<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php bloginfo('name') ?> Comments RSS 2.0 Feed" />
    
    	<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
    
    	<link rel="start" href="<?php echo get_option('home') ?>/" title="<?php bloginfo('name') ?>" />
    
    <?php jewelrybox_stylesheets() ?>
    
    </head>
    
    <body class="<?php jewelrybox_body_class() ?>">
    
    <div id="wrapper">
    
    	<div id="header">
    
    		<h1 id="blog-title"><a href="<?php echo get_option('home') ?>/" title="<?php bloginfo('name') ?>"><?php bloginfo('name') ?></a></h1>
    
    		<div id="blog-description"><?php bloginfo('description') ?></div>
    
    	</div><!--  #header -->
    
    	<?php jewelrybox_skipnav() ?>
    
    	<?php jewelrybox_globalnav() ?>
Viewing 8 replies - 1 through 8 (of 8 total)
  • u should put the display:none; in your h1 class in style.css
    file not in the header!

    Thread Starter showgirl

    (@showgirl)

    I have tried that and it makes everything including my logo disappear – I want to keep my logo. I changed:

    div#header h1#blog-title {
    
            font: 100% arial, lucida sans;
    
    	font-size: 2em;
    
    	margin: 40;
    
            text-align: center

    to:

    div#header h1#blog-title {
    
            display:none
    
            font: 100% arial, lucida sans;
    
    	font-size: 2em;
    
    	margin: 40;
    
            text-align: center

    Put a ; after the display:none.

    Thread Starter showgirl

    (@showgirl)

    Thanks, I have done this and my logo still disappears. I want to keep the logo and hide the blog title but need a title for the browser. What am I doing wrong? Feel like I am so close but yets so far – someone help me please.

    Thread Starter showgirl

    (@showgirl)

    Has anyone got any ideas for me to hide my title without hiding my logo. What info do you need to know to help me?

    I am having the same problem only I am using iLeather 1.0

    HELP!

    Cal

    (@themesbycal)

    Well just playing around I think I got it with the code below

    <h1><a href="<?php echo get_option('home'); ?>/"><span style="display:none;"><?php bloginfo('name'); ?></a></h1></span>

    As you can see I put a span around part of that line but not the entire thing. When I put it around the entire line it didn’t show the description, I’m not sure why…..

    Anyways, try it and let me know if it works.

    Note: I wouldn’t copy and paste, just try and put that span around the area you need to disappear.

    The display: none; worked!

    I was in the wrong place in my CSS Sheet.

    Thank you for making me think!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Hiding blog title (yes I have looked)’ is closed to new replies.