WPMU DEV Members receive personal, comprehensive and timely support and assistance from experienced WPMU and BuddyPress developers.

Helping beginners and advanced users since 2005
Join WPMU DEV Today
And transform your WPMU or BuddyPress site
Includes Unlimited Access to:

Private Members
Only Forum

Live Chat Help
and Support

Comprehensive
"How To" Videos

WPMU and BuddyPress
Manuals and More

How do I add some css to the settings page

One of the core links on the profile page is "settings". I need to add a div tag because all the content is too wide. I could manually add it to the other pages to get content to fit, but I can't find where the settings pages are coming from? the bp-core-settings.php file is not it. I don't want to remove it, or change it's function, I just need to add a div tag so it fits in my site.

Help & Support from WPMU Dev members and staff

@angeldazie: If you could provide us with a link and also what theme, what set up you have (wp / bp / multisite..) please as it's really hard to advise without those.

Well...you have to be logged in to see the settings option. I am running wordpress 3.0 which is multi site enabled and buddypress. Here is the page not logged in, if you are the owner another option called "settings" shows up after the "media" link:
http://www.inframebride.com/beta/members/admin/

@angeldazie: Ok you seem to be using the template pack from BuddyPress with a non BuddyPress theme - is this right? If so then attached is what image I assume you mean should be shown for members (if you look at the default BuddyPress theme these are the links). Is this the settings tab you mention? If so it should show up assuming your template pack works correctly. I will note in my experience that pack has a few limitations and issues.

[attachments are only viewable by logged in members]

Yes, the settings link. It shows up just fine and functions just fine. I just can't find the home.php or index.php file it's reading from. I need to add a div tag to it. It goes like <div id="content"> and I need to add another <div id="contentbody"> because it's too wide right now. I did use the template pack, so I've modified files in both the buddypress plugin folder and the files it put into my theme, I just can't find this one. I found all the others so I could style them, but where is this one??

Attached is what I mean. Where is this file?

Snapshot

[attachments are only viewable by logged in members]

@angeldazie did you get this sorted? I took a look at the site and the content shows up correctly in firefox and chrome on a mac. I can't see the settings link, obviously but it does appear to have the new "contentbody" div you mention. Only thing I noticed was the "body-bottom" seems to have a small alignment issue, but I'm sure that's easily resolved as well. If you're still having trouble, let us know!

Yes, I know all the other pages do, but the setting page doesn't. The settings link only shows up if you the owner of the account to change your settings. I was able to style all the other pages so they do show up correctly, but I can't find this page...

angeldazie,

Ok, I'm tracking with you now! I went ahead and used the bp-template-pack plugin with the 2010 theme so that I can take a look at this. I'll report back when I find something.

Found it.

To edit the settings page slug you actually have to make your div changes in members/single/plugins.php

Not the most intuitive place to look if you ask me! In my test install adding the div in this file made the changes necessary to the settings page. Let us know if you need anything else!

Reply

You must log in to post.


To post your questions, and access all of our plugins, themes and support - become a member today.