- This topic has 5 replies, 2 voices, and was last updated 9 years, 11 months ago by Anick.
-
AuthorPosts
-
January 13, 2015 at 11:06 pm #50007AnickMember
Hello Sakin,
Is there a way to have a different footer color on each page ? I’ve set the color on my 1st page but wan’t to change it on the 2 others.
My blog is laqueebecoise.besaba.com
And how do I change the color of the follow/subscription box on the 1st page ?
Thanks for your helpAnick
January 13, 2015 at 11:37 pm #50010SakinKeymaster@Anick: You can add different color in difference pages by using the page ID class. For example, your about page ID is 2. So, to change the color
.page-id-2 #site-generator { background-color: #696969; }
That follow/subscription box is not from our theme. So, I am not sure about this.
January 14, 2015 at 12:46 am #50011AnickMemberGreat, it’s working ! Big thanks for your help !
Since we’re talking about the follow/subscription box, is there a WP extension or widget I could use for this function instead of the one I have implemented ?
Anick
January 14, 2015 at 4:23 am #50012AnickMemberI spoke too fast in regards to what I call my page 3 but which is in fact a category page linked to my category “Les a-cotes”. Can’t seem to be able to change the footer color using the same kind of CSS you gave me previously…
Can you help me out ?
Thanks,Anick
January 14, 2015 at 8:48 am #50016SakinKeymaster@Anick: Sorry I don’t have any recommendation for follow/subscription box. Maybe you can find good plugins at http://wordpress.org/plugins/
Category is different and it has it’s own id. So, your “Les a-cotes” category ID is 21. So, the css will be as below:
.category-21 #site-generator { background-color: #696969; }
If you are finding difficult to find the IDs then you can use our simple plugin https://wordpress.org/plugins/catch-ids/
January 15, 2015 at 6:20 pm #50080AnickMemberThanks a lot ! It’s working fine now.
Anick
-
AuthorPosts
- The topic ‘How to have footer color different on each page’ is closed to new replies.