Support » Fixing WordPress » remove vertical bar to left of site title

  • Resolved billdinardo


    I am a complete novice to creating a Web site. Can you please tell me how to remove the vertical bar that is appearing to the left of my site title. I am using the theme Elegant Grunge. Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Left or right sidebar are often becomes integral parts of the layout of a theme. Usually, a good theme designer provides an option to enable left or right sidebar, so that you can turn it on or off.

    As far as I know, Elegant Themes provides many good premium WordPress themes. To my knowledge, they are not just themes, but theme framework. They added many functionalities not available in trivial WordPress themes. And that’s why they also has dedicated support.

    But if you understand a little bit about CSS, the layout can be tweaked to your preference. It can be ease, or otherwise it can be complex. It depends on the HTML structure and layouting of the theme.

    Thank you for responding. My problem really isn’t in the sidebar. It’s in the tab at the top of the page with my site title. A vertical bar ‘|’ appears to the left of my site title. Sorry if I’m not explaining it clearly.

    I read where someone suggested deleting the ‘|’ artifact in the theme Realmac Software ’06 <title>%site_title% | %title%</title>. This occurs in the index.html. I can’t find this coding in the index.php code for my theme Elegant Grunge.

    Thanks again for any help.

    If you couldn’t find it in index.php, try to look for it in functions.php.

    No luck finding the above code in index.php or functions.php. Is there another fix to this problem? Thank you.

    Try to look header.php. I found the following code snippet in my GrungeMag theme:

    <?php if (is_home()) : ?>
    <?php bloginfo('name'); ?>
    <?php bloginfo('description'); ?>
    <?php else : ?>
    <?php wp_title('', 'false'); ?>
    <?php bloginfo('name'); ?>
    <?php endif; ?>

    It should print – (dash) character instead of |. But maybe we deal with different Grunge theme here.

    Hi. I found the following code in header.php. Is one of these vertical bars ‘|’ printing to the left of my site title in the blue tab? Thanks again for your help.

    <?php if ( is_home() ) { ?><?php bloginfo(‘description’); ?> | <?php bloginfo(‘name’); ?><?php } ?>
    <?php if ( is_search() ) { ?><?php echo $s; ?> | <?php bloginfo(‘name’); ?><?php } ?>
    <?php if ( is_single() ) { ?><?php wp_title(”); ?> | <?php bloginfo(‘name’); ?><?php } ?>
    <?php if ( is_page() ) { ?><?php wp_title(”); ?> | <?php bloginfo(‘name’); ?><?php } ?>
    <?php if ( is_category() ) { ?><?php _e(‘Archive’, ‘elegant-grunge’) ?> <?php single_cat_title(); ?> | <?php bloginfo(‘name’); ?><?php } ?>
    <?php if ( is_month() ) { ?><?php _e(‘Archive’, ‘elegant-grunge’) ?> <?php the_time(‘F’); ?> | <?php bloginfo(‘name’); ?><?php } ?>
    <?php if ( is_tag() ) { ?><?php single_tag_title();?> | <?php bloginfo(‘name’); ?><?php } ?>

    Of course yes. Try to change it with other character and see the effect.

    I am having same issue but my code is not like that, I see not vertical line in the code

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘remove vertical bar to left of site title’ is closed to new replies.