WordPress.org

Ready to get started?Download WordPress

Forums

Help with links along top of website (10 posts)

  1. Mathew3454
    Member
    Posted 2 years ago #

    I want to make a website with only one page. The home page.

    I see that there are two links along th top of my website.

    "Home", and "uncategorised"

    I am not able to remove these, and I can only rename the "uncategorised" one.

    I don't need any page links and the website will only be one page, like this website: http://www.tubereplay.com/ (NOT MY WEBSITE)

    Any help is very appreciated.

    Thanks you.

  2. vtxyzzy
    Member
    Posted 2 years ago #

    It is nearly impossible to answer this question without a link to your site (and may not be possible even with the link).

    Please post a link to your site.

  3. Mathew3454
    Member
    Posted 2 years ago #

  4. Mathew3454
    Member
    Posted 2 years ago #

    (i renamed the "uncategorised" to "abc123")

    I really just don't understand how to edit any of the text on the page :(

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    edit header.php;
    find amd remove:

    <ul id="nav">
      <li><a href="<?php echo get_option('home'); ?>">Home</a></li>
      <?php wp_list_categories('sort_column=name&title_li=&depth=2'); ?>
    </ul>

    http://codex.wordpress.org/Editing_Files

  6. vtxyzzy
    Member
    Posted 2 years ago #

    You should create a Child theme to make your changes. If you do not, all of your changes will be lost if you update your theme.

    You can remove the menu by modifying your child theme's header.php and removing these lines:

    <div id="catnav">
    <div id="toprss"><a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/rss-trans.png" alt="<?php bloginfo('name'); ?>" width="65" height="24" /></a></div> <!-- Closes toprss -->
    <ul id="nav">
      <li><a href="<?php echo get_option('home'); ?>">Home</a></li>
      <?php wp_list_categories('sort_column=name&title_li=&depth=2'); ?>
    </ul>
    </div> <!-- Closes catnav -->

    You will need to create a new background image to take out the black bar where the menu is displayed.

  7. Mathew3454
    Member
    Posted 2 years ago #

    Thanks a ton alchymyth! It worked! Now do you have any idea how to remove the

    "COD Sniper Forum
    The UNofficial Sniper Community "

    white text that is in front/blocking the image behind it (title)

    and the "Leave a Comment more..." text? how do i remove that also?

  8. Mathew3454
    Member
    Posted 2 years ago #

    And thank you vtxyzzy. Can you also answer my above post?

    "
    do you have any idea how to remove the

    "COD Sniper Forum
    The UNofficial Sniper Community "

    white text that is in front/blocking the image behind it (title)

    and the "Leave a Comment more..." text? how do i remove that also?

    "

  9. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    it might be a good idea to consider using a child theme.

    how to remove

    one possibility to add this to style.css:

    #logo h1, #logo span { text-indent: -9999px; display:block; }

    for the other removals:

    edit index.php and archive.php;

    remove:

    <span class="topComments"><?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></span>

    and:

    <span class="topMore"><a href="<?php the_permalink() ?>">more...</a></span>
  10. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    In the style.css file, add the display none to the following:

    #header h1 {
        display: none;
        margin: 0;
        padding: 0;
    }
    
    #header span {
        color: #EEEEEE;
        font-size: 10pt;
        padding: 0;
        display: none;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags