Search Results for 'theme'
-
AuthorSearch Results
-
August 8, 2010 at 2:47 am #88408
In reply to: Changing the color of the menus?
Beck B
ParticipantTo be a bit clearer, here’s the info from the style.css file on making a child theme:
Instead, please read this codex page on how to build a BuddyPress child theme:https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/
And if you decide not to make a child theme, make sure you put any modified styling info after these lines:
/***
* The default theme styles.
*/
@import url( _inc/css/default.css );/***
* The admin bar default styles
*/
@import url( _inc/css/adminbar.css );August 8, 2010 at 2:43 am #88407In reply to: Changing the color of the menus?
Beck B
ParticipantActually, I believe this is the more relevant code:
ul#nav {
margin: 0;
padding: 0;
position: absolute;
right: 15px;
list-style: none;
bottom: 0;
max-width: 65%;
}
ul#nav li {
float: left;
margin: 0 5px 0 0;
}
ul#nav li a {
display: block;
color: #fff;
text-decoration: none;
padding: 5px 15px;
background: url( ../images/60pc_black.png );
-moz-border-radius-topleft: 3px;
-webkit-border-top-left-radius: 3px;
-moz-border-radius-topright: 3px;
-webkit-border-top-right-radius: 3px;
}
ul#nav li.selected a, ul#nav li.current_page_item a {
background: #f5f5f5;
color: #555;
}
ul#nav a:focus { outline: none; }Are you just using the default theme?
If you’re going to mod very much at all, you should technically create a child theme and work from there, although it’s easy enough to save your CSS as you go.
(Hey, smart forum members, is there already a skeleton theme somewhere? I could probably post one, if not.)Anyway, assuming you’re working from the default theme, find the folder “bp-default” in the “bp-themes” folder in the buddypress plugin folder. Then open style.css and, working from the above, after the existing lines in the style.css file, add only the parts that pertain to color (e.g.,
ul#nav li:hover > a{background-color:#330033; color:#9900FF;}
). That way, as long as you remember to backup this file regularly, you’ll know exactly what you’ve modified from the original.
If you want a menu with dropdowns, we’ll need to add some other code. Can pretty easily modify it to use WP3’s new custom menus. You can also remove (some or all of) the buddypress bits from that top menu if you want less clutter.
August 8, 2010 at 2:17 am #88405In reply to: Changing the color of the menus?
Kevin Perez
ParticipantCan you give me a bit more precise location for the file that I’m editing I’m assuming it’s in the buddypress theme itself under default.css?
August 8, 2010 at 1:43 am #88401In reply to: Some issues integrating BuddyPress with Custom Theme
Blue
ParticipantOk on this link: http://sitehelp.com.au/members/
I have added to my core css:
div#bpcontainer {
position: relative;
width: 698px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-right: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
background: #fff;
overflow: hidden;
}
body.activity-permalink div#bpcontainer {
background: none;
border: none;
}And in the index.php of the link above, I have changed:
toBut the sidebar still isnt sitting next to content.
I added:before
in the bottom of that index.php file.
Its nearly there, but any help appreciated. Then I can set about globally changing stuff
August 8, 2010 at 1:23 am #88397In reply to: Some issues integrating BuddyPress with Custom Theme
Blue
Participanthmm.. I am just looking at that in default.css of buddypress.
Will go and investigate , thanks.August 8, 2010 at 1:16 am #88396In reply to: Some issues integrating BuddyPress with Custom Theme
Beck B
ParticipantLooks like you have two separate divs with id of “container.” You only want to use an id once per page….use classes for multiple similar instances within a given page. I’m not sure if that’s THE problem, but I doubt it’s helping your code.
August 8, 2010 at 1:04 am #88394In reply to: Header Background Image
octapie
ParticipantAdding the “!important” worked just fine for me. When I tried adding the function to my child theme it corrected the background, but also made my wp dashboard disappear.
August 8, 2010 at 12:34 am #88392In reply to: Some issues integrating BuddyPress with Custom Theme
Blue
ParticipantOh and also, we have had to disable WP-SEO as we were getting db errors.
August 7, 2010 at 6:12 pm #88364In reply to: Group Activity Feed
r-a-y
KeymasterI’d remove the group feed function so I could create my own group feed loop.
What you’d want to do is remove the existing one by adding this to your theme’s functions.php:
remove_action( 'wp', 'groups_action_group_feed', 3 );
Then I’d basically duplicate the groups_action_group_feed() function (located in /buddypress/bp-groups.php), rename the function, throw it in my theme’s functions.php file and change the pointer of the following file:
bp-activity/feeds/bp-activity-group-feed.php
to a custom file I would also create in my theme’s directory.
Lastly, I would open up this duplicate of bp-activity-group-feed.php and modify the activity loop so it shows updates only from the group admin.
August 7, 2010 at 5:29 pm #88354nit3watch
Participant“Okay I figured it out” nothing to figure out.. If you right click with firebug, it tells you which file the rule is located in, never mind the line number. Also in firebug you can edit the css via the browser for a temporary view of what the rule will do before having to dig into your files and playing around with rules.
It really is a necessary tool if you plan on playing around with themes.. Good luck
August 7, 2010 at 3:27 pm #88341lethiaowens
MemberOkay I figured it out…I had to change the 960px width to 100% in the style.css file for the lifestyle theme. The new code looks like this and it now works;
#subnav {
width: 100%;
background: #006c9f;
font-family: Arial, Tahoma, Verdana;
font-size: 10px;
font-weight: bold;
color: #FFFFFF;
text-shadow: #333333 1px 1px;
text-transform: uppercase;
clear: both;
overflow: hidden;
}Thanks everyone for your suggestions.
August 7, 2010 at 2:07 pm #88335lethiaowens
MemberHere is a screenshot of the exact title bar and am trying to adjust – http://cityofexpertsstlouis.com/wp-content/themes/lifestyle/images/buddypress.jpg
August 7, 2010 at 1:58 pm #88334lethiaowens
MemberThanks so much Nit3watch and Boone Gorges. Where do I find the style.css that needs to be changed? I looked in both of the style sheet for the lifestyle theme and there is no wp-admin-bar element.
I did a search and the only files within my theme, the buddypress plugin and the bp-template-pack that has the text ‘wp-admin-bar’ are the following files:
adminbar.css – http://cityofexpertsstlouis.com//wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css
bp-core-adminbar.php – http://cityofexpertsstlouis.com//wp-content/plugins/buddypress/bp-core/bp-core-adminbar.php
bp-core-cssjs.php – http://cityofexpertsstlouis.com//wp-content/plugins/buddypress/bp-core/bp-core-cssjs.php
default.css – http://cityofexpertsstlouis.com//wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/default.css
global.js – http://cityofexpertsstlouis.com//wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js
rtl.css – http://cityofexpertsstlouis.com//wp-content/plugins/buddypress/bp-themes/bp-default/rtl.cssThanks again for your help.
August 7, 2010 at 12:58 pm #88331In reply to: how upgrade an old bp theme, please?
Hugo Ashmore
ParticipantLike Boone I went through the process of moving a bp-sn theme to BP 1.2 install and used the backwards compatibility plugin, while I succeeded more or less I had an uneasy feeling that it wasn’t the best or most rebust approach and felt there would be issues awaiting around the corner so I eventually took the decision to build afresh for that layout based on BP-Default, although it cost time I wasn’t planning on spending at that moment especially having allocated and used time working with the backwards compatibility plugin in the long run it was the best choice.
August 7, 2010 at 12:37 pm #88327Boone Gorges
Keymaster@nit3watch is right that Firebug is your friend
The reason why the admin bar doesn’t obey your content width is because it’s not technically in your content. If you view the source of your page, you’ll see that the markup for the admin bar is actually in your footer. Your best bet is to do what @nit3watch suggested and apply styles directly to #wp-admin-bar.
August 7, 2010 at 12:34 pm #88326In reply to: how upgrade an old bp theme, please?
Boone Gorges
Keymaster@alcina22 I went through this myself not too long ago (moving from a bp-sn-default based theme to BP 1.2) and I ended up rebuilding the child theme to be dependent on bp-default. It was an annoying and somewhat difficult process, but in the end I think it’s better to be dependent on bp-default (which is guaranteed to get developer attention, and which is just generally much easier to work with than bp-sn-parent).
August 7, 2010 at 11:17 am #88325In reply to: how upgrade an old bp theme, please?
alcina22
Participanthnla, r-a-y, thank you for your answers! I’ll follow your advices, and if I’m in trouble with something I’ll post again in the forum, maybe with detailed questions…
you are kind!ciao and thank you again, also for the link,
alcinaAugust 7, 2010 at 8:35 am #88321nit3watch
Participantin style.css
line 378
change:width:960px; to the desired width.If you dont have firefox and firebug, GET IT! All you would have to do is right click the element and you can see what is applied to it.
August 7, 2010 at 4:57 am #88316In reply to: Join all public groups at once
Beck B
Participant@crashutah, do you know if that Welcome Pack force acceptance trick (define(
'WELCOME_PACK_AUTOACCEPT_INVITATIONS', true );
) has to be done in wp-config, or would it work in a (child) theme’s functions.php?Wish I could easily auto-force the group but not the friends. Hm. More to think on….
August 7, 2010 at 2:06 am #88303In reply to: Something like “Yahoo! Answer” possible?
Nahum
Participantthere are a few Q&A themes that exist already that you could use. Add BP plugin. Create a frontend form that submits questions as Posts with the member poster assigned as author and the comments for the post(?) are your answers. The community layer is the community layer just allow only members to submit questions and answers. Add plugins like ratings and page views and you’re set.
you could go with groups or forums but they are limiting when you consider what can be done with a full blog. So if you are on MU, just create another blog just for QA. that way you keep them separate from the blog and other things. I think post types are great…but at the end of the day you begin filling up your main site admin with tons of stuff. I like spreading the post type and plugin weight across different blogs(or sections)…but if the site is only going to be QA (no blog, no nothing else) just do the same thing but on the main site.
on your bp language change the “wrote a new post” to “added the question: ” or whatever and you’re set again!
August 7, 2010 at 12:07 am #88290In reply to: How to add dropdown menu to navigation tabs
modemlooper
ModeratorSearch for a plugin and then you will need to replace the navigation links in your header.php file with the code to call the plugins drop down menu. You can also add support for wp menus and then do the css or javascript coding to make it drop down.
http://www.wpbeginner.com/wp-themes/how-to-add-custom-navigation-menus-in-wordpress-3-0-themes/
August 6, 2010 at 5:17 pm #88270r-a-y
KeymasterTo remove FB avatars from the FB plugin, add the following to your theme’s functions.php:
remove_filter( 'bp_core_fetch_avatar', 'jfb_get_facebook_avatar', 10, 4 );
To have an option between either the BP avatar and the FB avatar, some custom code would be needed to display an admin option in the user’s settings page.
August 6, 2010 at 4:58 pm #88265justbishop
MemberYou want to edit the index.php that’s IN your theme folder
August 6, 2010 at 4:51 pm #88264In reply to: how upgrade an old bp theme, please?
r-a-y
KeymasterIf you relied a lot on the BP 1.0 or 1.1 theme structure, then you’d need to install the BP Backwards Compatibility plugin:
https://wordpress.org/extend/plugins/buddypress-backwards-compatibility/I should note I have no experience using this plugin whatsoever.
hnla is right; if your theme isn’t too custom, I would recommend building a new child theme of the bp-default.
August 6, 2010 at 4:46 pm #88263In reply to: Create group button not showing?
r-a-y
KeymasterIf you’re logged in, you can create a group from the Group directory page:
example.com/groupsThere should be a button that says “Create a Group”.
If you don’t see this button, there is a problem with your theme. nit3watch eludes to the following file – /groups/index.php – in your theme’s folder.
-
AuthorSearch Results