Title: Editing CSS
Last modified: August 19, 2016

---

# Editing CSS

 *  [pynchon8](https://wordpress.org/support/users/pynchon8/)
 * (@pynchon8)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/editing-css-2/)
 * I am trying to edit the CSS to exclude certain pages and no matter what I do 
   it blows up the page.
    -  <?php wp_list_pages(‘exclude=17,38’ ); ?>
 * That’s an example of what I need to put in apparently. How do I enter that?
 * [http://www.emprisereview.com](http://www.emprisereview.com)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/editing-css-2/#post-1181791)
 * That’s PHP code, you can’t place PHP code into a CSS file, it’s unsupported.
 * If you need to change CSS based on something in PHP, then you need to do it in
   the PHP file and the not the CSS file.
 *  Thread Starter [pynchon8](https://wordpress.org/support/users/pynchon8/)
 * (@pynchon8)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/editing-css-2/#post-1181794)
 * I went into the header.php file to do this…is that not it?
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/editing-css-2/#post-1181797)
 * Yes that’s a valid place to put the code, i can’t see how this relates to CSS
   though.
 * Perhaps you could expand on what it is you’re doing?
 *  Thread Starter [pynchon8](https://wordpress.org/support/users/pynchon8/)
 * (@pynchon8)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/editing-css-2/#post-1181802)
 * I need pages linkable and viewable to those I send the urls to, but I can’t have
   them in the nav bar.
 *  Thread Starter [pynchon8](https://wordpress.org/support/users/pynchon8/)
 * (@pynchon8)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/editing-css-2/#post-1181808)
 * Yet another plugin for what should be something easy. Thanks for trying t31os
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/editing-css-2/#post-1181822)
 * Sorry, no offense intended here, but i’m not sure i understand what you’re trying
   to do still.
 * What do you mean “send urls to”?
 * If your nav bar has wp_list_pages(), which is usually in the header, then you
   just add the exclude parameter, as seen in the first snippet of code you posted
   to exclude them from the menu.
 *  Thread Starter [pynchon8](https://wordpress.org/support/users/pynchon8/)
 * (@pynchon8)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/editing-css-2/#post-1181824)
 * Nevermind. Fixed with a plugin. I did just what you said with the exclude and
   it didn’t work.
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/editing-css-2/#post-1181826)
 * Did you try with said plugin disabled?
 * If a plugin rewrites areas of functionality for the pages, then it may not work
   under those conditions.
 * If you have what you want though, no worries.. 😉

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Editing CSS’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/editing-css-2/#post-1181826)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
