-
Author
-
March 26, 2015 at 23:30 #51735ashleyyoungParticipant
Hi There
I would like to change the body background of just the buddypress pages of my site. Can you tell me how to do this as I am struggling.
If I change it using this:
body {background: #E5E5E5;}
It changes for the whole site, I just want all BuddyPress pages.
Thanks,
March 27, 2015 at 00:24 #51741sharmstrModeratorthe body selector is used on every web page, that’s why its changing all of them. You need to specify the buddypress class
body.buddypress
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
March 27, 2015 at 00:34 #51743ashleyyoungParticipantHi Thanks for getting back to me so quickly.
I have tried this:
COPY CODEbody.buddypress { background-color: #E5E5E5 !important; }
But it doesn’t seem to do anything. Any ideas?
March 27, 2015 at 00:37 #51744ashleyyoungParticipantActually it doesn’t do it when I just use
body {background: #000000;}
It only changes the background (of all pages) when I add:
.main-color.container-wrap {background: #000000;}
So how would I go about changing it just for buddypress pages and not the whole site?
March 27, 2015 at 00:53 #51748sharmstrModeratorWhat I gave you does, but you wont see if unless you are using a boxed layout. But if you want to change the container-wrap, again, you use the .buddypress selector.
.buddypress .container-wrap.main-color {
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.