Sidebar changes
-
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.rtfThanks, David
-
#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 wantDoes 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
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.
This page lists the possibilities for text-transform:
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?
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?
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’); ?>
- ” title=”<?php _e(‘Syndicate this site using RSS’); ?>”><?php _e(‘RSS Contents’); ?>
- ” title=”<?php _e(‘The latest comments to all posts in RSS’); ?>”><?php _e(‘Comments RSS’); ?>
<li id=”meta”><?php _e(‘Meta:’); ?>
-
<?php wp_register(); ?>
- <?php wp_loginout(); ?>
- “><?php _e(‘Valid XHTML’); ?>
- XFN
- “>WP
<?php /*
*/?>
<?php wp_meta(); ?><?php /*
<li id=”calendar”><?php _e(‘Calendar:’); ?>- <?php get_calendar(daylength); ?>
*/ ?>
</div>
<!– end sidebar –>That didn’t paste well. But
backticksaround code, or else paste that into http://wordpress.pastebin.ca/http://wordpress.pastebin.ca/771498
thanks adam
You’re looking for this:
<?php wp_list_pages(); ?>Make it this:
<?php wp_list_pages('title_li=Your Name Here'); ?>Thanks, that worked.
The topic ‘Sidebar changes’ is closed to new replies.