Quantcast
Channel: bbPress.org » Topic: Custom Backgrounds per Topic
Viewing all articles
Browse latest Browse all 2

Custom Backgrounds per Topic

$
0
0

Hey BBPress!

I was wandering if ya’ll can help me out with this. So I have my theme styled so that each Forum gets its own background through the style.css file using the following lines:

.postid-17 {
background: #000000 url(http://alysiaworld.com/wp-content/uploads/2013/06/alysiasea.jpg) center top no-repeat fixed;
}

where postid-17 is the correlating WordPress post associated with the Forum.

The problem now is that when you visit a Topic within the Forum, the background goes back to the default image :/

I am thinking that there should be a code to pull the topics Parent Forum “postid” and then force the background to the topic.

I hope that makes sense. I can dig through code, but I am not so skilled with writing my own yet.

Thanks in advance for your help.

WordPress and BBPress are running the latest versions:

Site – htp://alysiaworld.com
Theme – Twentytwelve


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images