Search Results for 'Add BuddyPress Styles to a Theme'
-
AuthorSearch Results
-
November 6, 2012 at 6:56 pm #144617
In reply to: [Resolved] Buddypress and Minimosityyy
@mercime
ParticipantC. COPY footer.php and Save As > footer-buddypress.php file
Open up sidebar-buddypress.php and at the very TOP of the file above all other code, add:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save file.
C. Upload header-buddypress.php, sidebar-buddypress.php and footer-buddypress.php to your theme folder in server wp-content/themes/minimosity/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
November 5, 2012 at 8:45 pm #144566In reply to: How to make Buddy Press Compatible with Theme
@mercime
ParticipantB. COPY sidebar.php and Save As > sidebar-buddypress.php file
Open up sidebar-buddypress.php and at the very TOP of the file above all other code, add:
``Keep the file open, and at the very BOTTOM of the file below all other code, add:
`
jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/themorningafter/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
November 5, 2012 at 1:45 am #144521@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
``
with the following for registration/register.php:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/esplanade/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
November 4, 2012 at 8:27 pm #144498@mercime
ParticipantB. CREATE a blank sidebar-buddypress.php file
Open up the blank sidebar-buddypress.php and add content from:
– http://pastebin.com/W7tT40twSave file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/ronnie_fantastic/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
October 29, 2012 at 1:24 am #144137@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
`
<?php
lambda_after_content();
if(empty($columns))
get_sidebar();
get_footer();
?>`with the following for registration/register.php:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});<?php
lambda_after_content();
if(empty($columns))
get_sidebar();
get_footer();
?>`Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/nevada/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
October 5, 2012 at 10:55 pm #143048@mercime
Participant@micjavier Your theme has default button.span that’s display: block which stretched out BP’s span tag. To resolve the issue, add this to your stylesheet
`a.bp-primary-action span,
#reply-title small a span {
display: inline;
}`October 1, 2012 at 7:51 pm #142790In reply to: [Resolved] BuddyPress and Sports Mag Theme
Wizza
ParticipantI can’t work out what to do with the stylesheet. I’ve added the extra bits to style.css in sports mag theme and twenty ten theme and its still the same and messy…
October 1, 2012 at 6:50 pm #142781In reply to: [Resolved] BuddyPress and Sports Mag Theme
@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
``
with the following for registration/register.php:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/sportsmag/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
October 1, 2012 at 2:28 am #142729@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
`
`with the following for registration/register.php:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/simpolio/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
September 30, 2012 at 6:22 pm #142717In reply to: [Resolved] Problem with Volt theme template
@mercime
ParticipantB. COPY Sidebar A template http://pastebin.com/8TQg5dmt and Save As > sidebar-buddypress.php
Open up sidebar-buddypress.php file and at the very TOP of the file, add this:
``
Then in the same file, at the very BOTTOM below other code add this:
`
jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/volt/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
September 29, 2012 at 9:24 am #142660@mercime
ParticipantB. COPY your sidebar.php file and Save As > sidebar-buddypress.php
Open up sidebar-buddypress.php file and at the very TOP of the file, add this:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/sahifa/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
September 24, 2012 at 8:34 am #142333In reply to: [Resolved] Buddypress – Risen theme
TWC01
ParticipantHi.
This is the activity/index.php page http://pastebin.com/PkHZdQ3K I can see there is an extra <?php at the top so I have removed it. and this is what I get http://www.christianinspire.net/activity/
I am guessing the `/** * Template Name: BuddyPress – Activity Directory * * @package BuddyPress * @subpackage Theme */` needs removing but also the css code needs adding to style.css but when i look for
`/ > BuddyPress Component Finishing Styles
*/ `it is not in the css file.
Any ideas?
September 20, 2012 at 10:32 am #142138In reply to: [Resolved] Buddypress – Risen theme
@mercime
Participant== I have done this exepct for the last part in section D. I can not see where the text has been added for the css on style.css for risen ==
@twc01 The style mods are on that page. It starts with:
`/ > BuddyPress Component Finishing Styles
*/`== Parse error: syntax error, unexpected ‘<' in /home/inspire/public_html/wp-content/themes/risen/members/index.php on line 10 ==
What’s on line 10?
September 19, 2012 at 9:32 pm #142116@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
``
with the following for registration/register.php:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/wallbase/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
September 19, 2012 at 7:19 pm #142111In reply to: [Resolved] Buddypress – Risen theme
@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
``
with the following for registration/register.php:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/risen/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
September 19, 2012 at 6:59 pm #142109@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
``
with the following for registration/register.php:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/deliciousmagazine/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
Notes:
1. Not sure if the Woo breadcrumbs will work in the inside pages of the BP components.
2. If there’s error/s shown on screen after you upload the changes, remove the following from the top of the file:
“
and the error persists, remove the breadcrumb as well
`
`September 15, 2012 at 8:50 pm #141768In reply to: Converting my theme to Buddypress compatiblity
@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
``
with the following for registration/register.php:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/bold/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
Notes:
1. Not sure whether Yoast Breadcrumb will work in this scenario for the internal component pages
2. As long you don’t change sidebars in your theme’s option page, this will do. If you are going to make sidebar changes, you would need to copy footer.php and save it as footer-buddypress.php and remove the code to call/change sidebar to protect the layout of your BP pages.September 13, 2012 at 8:56 pm #141631@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
`<?php if (get_option_tree('blog_layout_sidebar', '')) {} else {echo '
‘, get_sidebar() . ‘‘;}?>
`
with the following for registration/register.php:
`<?php if (get_option_tree('blog_layout_sidebar', '')) {} else {echo '
‘, get_sidebar() . ‘‘;}?>
jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/Paediatric/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
Final note: not sure whether the options re sidebar locations will work in BP template files with your theme. Some themes have options that work, some themes not at all. Make the top and bottom revisions with /members/index.php to start and see how that works out first.
September 12, 2012 at 8:18 am #141505In reply to: [Resolved] Buddypress fixing alignment issues
@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
``
with the following for registration/register.php:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/zenon-lite/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
September 10, 2012 at 6:47 pm #141379In reply to: [Resolved] Changing buddypress style ?
mahdiar
ParticipantYes I mean I use a WP theme and installed the BP template pack plugin . So How can I find styles ?
I mean for example I’d like to change avatar style which style code should I add or change ?
Thanks a lot mercime you help me a lot
September 10, 2012 at 4:55 pm #141370@mercime
ParticipantB. COPY your theme’s sidebar.php file and Save As > sidebar-buddypress.php
Open up sidebar-buddypress.php file and at the very TOP of the file above other code, add this:
``
Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/dailypost/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
September 9, 2012 at 5:46 pm #141324@mercime
Participant@bibliata I believe there’s a misunderstanding here. You should not be changing anything within the bp-default theme in /wp-content/plugins/buddypress/bp-themes/bp-default/
If you want to revise the bp-default theme, you should create a child theme https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/
BP Columns is already a child theme of bp-default theme. If you want to make any style changes in this child theme, the simplest thing to do there is add your new styles at the bottom of custom.css file and back it up since it will be overwritten when it’s upgraded. Or, you can create a new css file e.g. mystyles.css in BP Columns theme folder to add your new styles to, then open up style.css file and add
`@ import url( mystyles.css );`
under `@ import url( custom.css );`
(remove the space between @ and import when you do this)If you’re using Firefox, install the Firebug add-on to help you ID what elements need to be changed.
And, as I’ve mentioned in the other post, you can use a WP theme which approximates the layout you need and install the BP Template Pack plugin. For reference, we have a list of “bp-template-packed” WP themes, free and premium @ https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#template-packed-wordpress-themes
September 9, 2012 at 4:31 pm #141320In reply to: [Resolved] Allignment – BlackLight theme
@mercime
Participant@tomelk31 No problem. You’re lucky you only had to add styles instead of revising 16 template files for Step 3
Marking this as resolved.September 8, 2012 at 4:55 am #141263In reply to: [Resolved] Allignment – BlackLight theme
@mercime
Participant@tomelk31 ok, I see that you’ve added the styles now and I see that the additions have fixed the layout for all BP pages.
September 7, 2012 at 6:01 pm #141221In reply to: [Resolved] Allignment – BlackLight theme
@mercime
Participant@tomelk31 It should rein in BP content to the left to lift up the sidebar. Where did you add the style to `#content .padder` and the styles I mentioned for you to copy from the Twenty Ten modifications? I’m looking at your blacklight/style.css file in server and the styles have not been added at all.
-
AuthorSearch Results