Title: Active page link colour
Last modified: August 19, 2016

---

# Active page link colour

 *  Resolved [thirteen](https://wordpress.org/support/users/thirteen/)
 * (@thirteen)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/)
 * Hello,
 * I’m trying to figure out why the “News” link [at the top of my page](http://www.marqspusta.com/7.0)
   is not changing colours (like the “About” page) when active. I set it as the 
   home page (through Settings > Reading), so I’d like the active link to be the
   correct colour when the user is on the home page AND the News page. Or at least
   the News page.
 * Any help would be appreciated.

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/active-page-link-colour/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/active-page-link-colour/page/2/?output_format=md)

 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842040)
 * [http://marqspusta.com/7.0/news/](http://marqspusta.com/7.0/news/) is post [http://marqspusta.com/7.0/about/](http://marqspusta.com/7.0/about/)
   is page, that’s why 🙂 This doesn’t seem to be dynamic menu?
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842042)
 * your:
 *     ```
       .current_page_item, .current_page_item a {
       	text-decoration: none;
       	color: #442604;
       }
       ```
   
 * applies to pages, not to posts.
 *  Thread Starter [thirteen](https://wordpress.org/support/users/thirteen/)
 * (@thirteen)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842060)
 * Yeah, it’s not dynamic.
 *  Thread Starter [thirteen](https://wordpress.org/support/users/thirteen/)
 * (@thirteen)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842061)
 * OK, thanks, I changed it back to a dynamic menu. So how could I make the “News”
   link colour active when you’re on the home page?
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842064)
 * It is now when you made this dynamic [http://marqspusta.com/7.0/news/](http://marqspusta.com/7.0/news/)
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842065)
 * [http://postimage.org/image/1jytv1w1w/](http://postimage.org/image/1jytv1w1w/)
 *  Thread Starter [thirteen](https://wordpress.org/support/users/thirteen/)
 * (@thirteen)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842066)
 * Yup, that looks great. I’m concerned [with the home page here](http://marqspusta.com/7.0/).
   Or could I get rid of the home page somehow and make it the “News” page? I went
   to Settings > Reading and changed it to this: [http://www.queueban.com/del/wp_active.png](http://www.queueban.com/del/wp_active.png)
 *  Thread Starter [thirteen](https://wordpress.org/support/users/thirteen/)
 * (@thirteen)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842067)
 * I basically want a way to change the “home” page name into “news”, but I don’t
   think WordPress allows this. I did make my own theme though, so perhaps there’s
   a way I can code it?
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842068)
 * That will do the trick if you want News to be your homepage.
 *  Thread Starter [thirteen](https://wordpress.org/support/users/thirteen/)
 * (@thirteen)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842069)
 * The problem is that the link in the navigation bar doesn’t change when you’re
   on the home page.
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842070)
 * If the News is you current page on [http://marqspusta.com/7.0/](http://marqspusta.com/7.0/)
   the News will not be highlighted, only if you click on [http://marqspusta.com/7.0/news/](http://marqspusta.com/7.0/news/)
   but I don’t think that this link should be even clickable if you made “news” 
   as you home page via Settings.
 * When you say the nav doesn’t change what do you mean by that?
 *  Thread Starter [thirteen](https://wordpress.org/support/users/thirteen/)
 * (@thirteen)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842071)
 * The colour.
 * I just changed the “Home” page back to recent posts instead of making it the “
   News” page. So you’ll see two different links at the top. But still, the link
   doesn’t change colour when you’re on the second “News” link at the top, which
   is the home page.
 *  Thread Starter [thirteen](https://wordpress.org/support/users/thirteen/)
 * (@thirteen)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842072)
 * This is the code:
 *     ```
       <li><a href="<?php echo get_option('home'); ?>/" >News</a></li>
                 <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>
       ```
   
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842074)
 * Second News is your Home so they don’t highlight see the code now and News is
   highlighted once you click on it.
 *     ```
       <li><a href="<?php <?php echo home_url(); ?>/" >Home</a></li>
                 <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>
       ```
   
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/#post-1842075)
 * [http://postimage.org/image/31cc69q5g/](http://postimage.org/image/31cc69q5g/)

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/active-page-link-colour/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/active-page-link-colour/page/2/?output_format=md)

The topic ‘Active page link colour’ is closed to new replies.

## Tags

 * [a:active](https://wordpress.org/support/topic-tag/aactive/)
 * [active](https://wordpress.org/support/topic-tag/active/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [link](https://wordpress.org/support/topic-tag/link/)
 * [navigation](https://wordpress.org/support/topic-tag/navigation/)
 * [page](https://wordpress.org/support/topic-tag/page/)

 * 26 replies
 * 2 participants
 * Last reply from: [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/active-page-link-colour/page/2/#post-1842239)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
