Title: Page title class
Last modified: August 21, 2016

---

# Page title class

 *  [benetmc](https://wordpress.org/support/users/benetmc/)
 * (@benetmc)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/page-title-class/)
 * Hi,
 * I want to edit the CSS for the page titles on my 12 static pages just simple 
   stuff to add a bit more colour to the site.
 * I have searched the archives and found how to hide the title, adapted it and 
   tried
 *     ```
       .entry-header .entry-title {
       	color: #fff;
       	background: #404040;
       }
       ```
   
 * but it has affected my featured posts slideshow on my homepage – not even in 
   the same manner but it returns to normal when I change it.
 * Is there a way of, I don’t know, assigning a new class for these titles so I 
   can edit only them or another way of being able to achieve what I am after.
 * The website is [alwaysremembered.org](http://www.alwaysremembered.org)

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

 *  [Balint Toth](https://wordpress.org/support/users/tothbalint/)
 * (@tothbalint)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/page-title-class/#post-4342056)
 * Hello!
 * It is possible to add a class to the page titles by editing the theme’s php files,
   but if I can suggest something different:
    You can target the slideshow titles
   by `.featured-slider .entry-header .entry-title`, give it the original styling
   and giving the css properties the `!important` tag, so if you change the page
   title settings, it should not affect the slider.
 * Let me know if this helped. And if you need any additional help, just drop a 
   line here.
 * Greetings,
    Balint
 *  Thread Starter [benetmc](https://wordpress.org/support/users/benetmc/)
 * (@benetmc)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/page-title-class/#post-4342096)
 * Thanks Balint,
 * I am still having some difficulty getting the right settings from my adult theme
   but targeting the slideshow as you suggested has worked well for me. and I have
   fixed the problem I was having.
 * Thanks for your help
    Ben

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

The topic ‘Page title class’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 2 replies
 * 2 participants
 * Last reply from: [benetmc](https://wordpress.org/support/users/benetmc/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/page-title-class/#post-4342096)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
