Winner of the Best WordPress Business Website - WP Honors 2011
Since 2004
 

Forums

 

Manuals

 

Videos

 

Live Support

 

WPMU.org

How do I add some css to the settings page

Inactive

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.

Everyday at WPMU DEV we help hundreds of WP Users. Become a member today to:

  • Download 250+ Premium Plugins and Themes
  • Get unlimited support from WordPress Experts
  • Get help with your WordPress or BuddyPress projects

Help & Support from WPMU DEV members and staff

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.

Inactive

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/

Get personal, comprehensive and timely support and assistance
from WordPress Experts

Staff

@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]

Inactive

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??

Inactive

Attached is what I mean. Where is this file?

Inactive

Snapshot

[attachments are only viewable by logged in members]

Get personal, comprehensive and timely support and assistance
from WordPress Experts

Staff

@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!

Inactive

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...

Staff

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.

Staff

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!

Get personal, comprehensive and timely support and assistance
from WordPress Experts

We can help you out. Become a member today to:

  • Let our team help you out today and access to over 250+ Premium Plugins and Themes
  • Find out why people saying "it's like having your own developer"
  • WPMU DEV - The WordPress Experts