WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar changes (12 posts)

  1. noncollective
    Member
    Posted 6 years ago #

    Hi. My blog is http://noncollective.com/

    I am looking to change to colour of 'Pages' 'links' 'categories' 'feeds' and 'meta' in my sidebar. I've looked hard is my style.css and I can't seem to work it out.

    Also, is it possible to change the name of 'Pages'?

    Any suggestions would be very much appreciated. My style.css can be found here:
    http://noncollective.com/wp-content/uploads/CSS/noncollective.rtf

    Thanks, David

  2. elDeuce
    Member
    Posted 6 years ago #

    #sidebar ul {                 style.css (line 265)
    color:#CCCCCC;
    list-style-type:none;
    margin:0pt;
    padding-left:3px;
    text-transform:lowercase;
    }

    Just change color:#CCCCCC; to any color you want

  3. noncollective
    Member
    Posted 6 years ago #

    Does anyone know how I can change the name of 'pages'?

    Also what code do I put in text-transform to make it sentence-case, ie 'Links' rather than 'links'

    Thanks

  4. Adam Brown
    Member
    Posted 6 years ago #

    I assume you're using widgets? After positioning the widget where you like it (in WP admin), click the three little lines on the right side to edit the widget's options.

    If you're not using widgets, open up sidebar.php and look for the word 'pages' (as text, not as code) and change it.

  5. Adam Brown
    Member
    Posted 6 years ago #

    This page lists the possibilities for text-transform:

    http://www.w3schools.com/css/pr_text_text-transform.asp

  6. noncollective
    Member
    Posted 6 years ago #

    Hi Adam. Thanks.

    I don't use widgets. I tried changing 'pages' as you said but it just messed everything up in the sidebar. Any other ideas?

  7. Adam Brown
    Member
    Posted 6 years ago #

    The place you should change it is right here:

    <li class="pagenav">Pages<ul><li class="page_item page-item-2">

    was that what you changed?

  8. noncollective
    Member
    Posted 6 years ago #

    That place doesn't seem to be in my code. See below:

    <!-- begin sidebar -->
    <div id="sidebar">

      <li id="search">
      <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
      <div>
      <input type="text" name="s" id="s" size="15" />
      <? /*<input type="submit" value="<?php _e('Search'); ?>" />*/?>
      </div>
      </form>

      <?php wp_list_pages(); ?>
      <?php get_links_list(); ?>
      <li id="categories"><?php _e('Categories:'); ?>

      <?php wp_list_cats(); ?>

    <li id="archives"><?php _e('Archives:'); ?>

      <?php wp_get_archives('type=monthly'); ?>

    <li id="feeds"><?php _e('Feeds'); ?>

    <li id="meta"><?php _e('Meta:'); ?>

    <?php /*
    <li id="calendar"><?php _e('Calendar:'); ?>

    • <?php get_calendar(daylength); ?>

    */ ?>

    </div>
    <!-- end sidebar -->

  9. Adam Brown
    Member
    Posted 6 years ago #

    That didn't paste well. But backticks around code, or else paste that into http://wordpress.pastebin.ca/

  10. noncollective
    Member
    Posted 6 years ago #

  11. Adam Brown
    Member
    Posted 6 years ago #

    You're looking for this:

    <?php wp_list_pages(); ?>

    Make it this:

    <?php wp_list_pages('title_li=Your Name Here'); ?>
  12. noncollective
    Member
    Posted 6 years ago #

    Thanks, that worked.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags