WordPress.org

Ready to get started?Download WordPress

Forums

"Home" Button Matches Heading on Home Page - Help! (6 posts)

  1. debk888
    Member
    Posted 4 years ago #

    If someone could help to change or delete the heading on my static home page, I would be grateful! My heading synchronizes with the button at the top of the page next to 'ABOUT'. The Button (next to About) copies my heading. Take a look: healthshock.net I want to do one of two things (whatever resolves this!)

    1. Delete the shaded green heading, then change my button back to 'Home'. I'm guessing if I deleted the shaded green heading it won't appear in the button area. Sounds logical to me, :)

    or

    2. Somehow change the button that WAS 'Home' and now says Welcome to My Place, back to HOME. My preference, but as I said, whatever resolves this I'll do.

    Am I making any sense?

    Perhaps if I'm not making myself clear, here's another way of writing this.

    I make my static page. When I put in the heading of my first article 'Welcome to My Place', the button at the top changed to "Welcome to My Place. It was simply "Home", which is what I want the button to read (obviously).

    Thank you for your help,

    Deb

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    A link to your site might help...

  3. debk888
    Member
    Posted 4 years ago #

    healthshock.net

    thanks!!

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Two step solution for you to try:

    1. Rename your static front page back to "Home".

    2. Edit your theme's page.php file and change:

    <div class="art-PostMetadataHeader">
    <h2 class="art-PostHeaderIcon-wrapper">
    <span class="art-PostHeader">
    <a title="Permanent Link to <?php the_title(); ?> " rel="bookmark" href="<?php the_permalink() ?>"><?php the_title(); ?></a></span></h2>

    to:

    <div class="art-PostMetadataHeader">
    <h2 class="art-PostHeaderIcon-wrapper">
    <span class="art-PostHeader">
    <a title="Permanent Link to <?php the_title(); ?>" rel="bookmark" href="<?php the_permalink() ?>"><?php if( is_front_page() ) echo 'Welcome to My Place!'; else the_title(); ?></a></span></h2>
  5. debk888
    Member
    Posted 4 years ago #

    Thank you!

    It worked, but how can I add a little white space between 'Welcome to My Place' and the beginning of the article. Like this:

    WELCOME TO MY PLACE

    This web site is....

    As it stand now, it looks like this:

    WELCOME TO MY Place
    This web site is....

    Thanks again!

    Deb

  6. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Try editing style.css and changing:

    .art-PostMetadataHeader {
    background-color:#E6E9C3;
    padding:1px;
    }

    to

    .art-PostMetadataHeader {
    background-color:#E6E9C3;
    margin-bottom:30px;
    padding:1px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic