• 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    (@benetmc)

    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.