Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 3,201 through 3,225 (of 31,071 total)
  • Author
    Search Results
  • #269172

    In reply to: Blink my avatar

    Boone Gorges
    Keymaster

    Hi @autox420 – The first answer to this question https://stackoverflow.com/questions/21203526/hide-unhide-div-with-button shows a technique that you can use to add a button like this to your theme.

    #269152
    DragoWeb
    Participant

    Hi, I have this error message

    “There was a problem cropping your profile photo.”

    when I try to upload an avatar image with a width of 450px and above. Starting to 451px it works (even with an height of 150px). I get a warning message only if I try to upload an image under 150x150px :

    “You have selected an image that is smaller than recommended. For best results, upload a picture larger than 150 x 150 pixels.”

    So, I suppose this problem doesn’t come from a setting option somewhere.

    The problem is the same when I switch to the default theme Twenty Fifteen and I have no other plugin activated (except HideMySite). Cover image works without problem. Cropping image works with Ultimate-member plugin and in WP admin -> Media -> Edit/crop as well.

    Config:
    Wordpress (new install) v4.9
    Buddypress 2.9.2
    php 5.6
    GD enabled

    Thanks.

    #269150

    In reply to: Cover Photo Issues

    Nikelaos
    Participant

    I’ve checked the theme for $content_width – well, it’s set to 700 or 1080 using a fullwidth-template (which I don’t use)…

    #269139
    Boone Gorges
    Keymaster

    Don’t abandon the Groups functionality or BuddyPress over this small display issue! With a plugin like this https://wordpress.org/plugins/simple-custom-css/, it is trivial to add the CSS that I gave above.

    Building a child theme is more complex, and is something you should learn down the road if you plan to make extensive customizations. But if you just need to make a small change like what I’ve suggested, then a plugin like https://wordpress.org/plugins/simple-custom-css/ is more than enough.

    #269136
    shanebp
    Moderator

    For theme specific support, please contact the theme creators.

    And then post their response here.

    #269122
    writingbox
    Participant

    Hi Mr. Boone 🙂

    Yes, I tried to activate it and *hum* everything went weird on my website lol

    O.K. so I guess I would need to study this theme child mystery or try with Jetpack’s Custom CSS module, or maybe drop the groups altogether and go with bbPress…

    I will first try to save the groups. 🙂

    Thank you so much for your help!

    #269121
    Henry Wright
    Moderator

    wp_nav_menu_items is a useful filter hook. You can use it like this:

    add_filter( 'wp_nav_menu_items', function( $items, $args ) {
        if ( 'primary' === $args->theme_location ) {
            // Do something to the primary menu's $items.
        }
        return $items;
    } );
    roseashm
    Participant

    Where do I upload my theme to on BuddyPress?

    #269113
    Boone Gorges
    Keymaster

    I should note that, if you are at all uncomfortable with building a child theme, then you should instead use Jetpack’s Custom CSS module (or a similar plugin). While building a child theme is pretty straightforward once you’re used to it, it can be intimidating at first and has the potential to break your site (temporarily!) if not implemented correctly.

    #269112
    Boone Gorges
    Keymaster

    No – you have put it inside the comment marks that indicate the stylesheet header. Move it below this:

    
    */
    

    Then you have to actually activate the them. It looks like you are still running the parabola theme.

    #269108
    writingbox
    Participant

    Hi Boone,

    I followed your previous instructions and added your proposed CSS.

    Here’s the result: http://www.auteurpreneur.net/wp-content/themes/parabola-child/style.css

    Still, the margin hasn’t changed… Have a put the CSS lines at the right place?

    Thank you!

    #269107

    In reply to: Course Group Error

    shanebp
    Moderator

    I believe those warnings are related to fetching the plural form of a number.

    Do you have debug turned on in wp-config.php ?
    If the only issue is the Warnings, turning off debug should make them disappear.

    If they still appear or there are related issues, you should open a ticket at LearnDash.

    But first, to see if the issue is related to your theme, try switching momentarily to a WP theme like 2016 and see if the warnings persist.

    #269101
    Boone Gorges
    Keymaster

    Thanks for the link. It does appear that the margin-top property is the culprit.

    Here is the CSS that should fix it:

    
    body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content, body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions {
        margin-top: 0px;
    }
    

    I don’t recommend that you make the change directly to your themes/parabola/style.css stylesheet, as it will be overridden on the next update. I suggest building a child theme. But you could also use a custom CSS plugin, or the Custom CSS tools in Jetpack.

    #269098
    Boone Gorges
    Keymaster

    If your theme uses bp-legacy theme templates, then the styles for the Who’s Online widget are in buddypress/bp-templates/bp-legacy/css/buddypress.css.

    https://postimg.org/image/sl03lqwff/

    BuddyPress does have a lot of files, but it’s organized according to pretty specific principles, and I don’t think it qualifies as “messy”. In any case, for the purposes of CSS, you can always use your browser inspector (see image above) to locate styles.

    Boone Gorges
    Keymaster

    Ah yes, thanks for that.

    It looks like your theme is loading scripts from BuddyPress, but is using an old path for these scripts. (BP changed the paths a couple versions ago. See https://buddypress.trac.wordpress.org/changeset/11009.) Look in your theme – probably in functions.php – to see how it’s loading the cookie, caret, and atwho scripts. Then update the paths as needed (I think you can just add /vendor/).

    Ankit Joshi
    Participant

    Thank you Boone Gorges,

    Yes I have checked all the functions but I am working in child theme functions.php file and buddypress friends_add_friend function is not working in this file directly. DO I need to import any file here?

    So can you please let me know

    #269070
    Boone Gorges
    Keymaster

    Hi @angrywarrior – Really sorry to hear you are having troubles.

    The “are you sure…” message indicates that a nonce check is failing. It makes sense that the nonce check is failing, since the nonce field is not being rendered on the second step of the wizard – from what you described, nothing is.

    > next step is blank – you can only see the buttons “continue” or “go back”. As mentioned before, there is no options shown in this step. It’s just blank.

    An important distinction here: Is the main content section of the page blank at this step, or is the content section *plus* the rest of the page blank? That is: is the footer generated properly? If not, it’s likely that you’re experiencing some kind of PHP fatal error. Check your error log, or enable WP_DEBUG, to see if something like this might be the case.

    This could also be happening because of some inconsistency or change in your theme templates. What theme are you using? Is it possible for you to run a test with a default WP theme, like Twenty Sixteen, to see if the problem goes away? This would at least help to narrow things down.

    #269065
    Boone Gorges
    Keymaster

    CSS changes must go in a CSS file; putting them into a header.php file won’t do anything, unless you use some specific syntax.

    It’s possible that the style.css sheet that you are referencing is not actually being loaded, due to an improperly built child theme. You can tell by viewing the source of the page and looking for a file being loaded in a <link> tag, with a URL along the lines of: example.com/wp-content/themes/my-theme/style.css. If you don’t see this anywhere, then you need to figure out why before you can debug anything else.

    If the stylesheet is indeed loading, but the change is not taking effect, there may be a problem with the selector I’ve suggested. The best way to figure this out is by right-clicking the element, selecting “Inspect Element” (or similar, depending on browser) from the context menu, and then using your browser tools to experiment with different CSS selectors until you find the right level of specificity. Here is one tutorial on how to do this, and you can find thousands of others on Google (“how to use browser developer tools” or something like that). https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools

    My CSS also assumes that the diagnosis of the theme author is correct. I can’t verify that without actually being able to see a live copy of the site. If in doubt, you may consider reaching out to the theme author, who may be able to confirm some of the advice on this thread.

    #269063
    writingbox
    Participant

    Hi Boone 🙂

    Thank you so much for this solution, I’m in the process of creating the child theme. So far it’s all going well… but now for the “header” part, what you say is different than what the article says: you suggest to make the customizations in the style.css file, while the article instructs to copy the parent’s header.php file in the child theme folder and make the changes to this file (header.php number 2), and is mentioning nothing about style.css for these changes.

    Who is right, what should I do? 🙂

    Thanks a lot!

    Boone Gorges
    Keymaster

    > I replaced the indicated line of code in my child theme’s cover-image-header.php with yours. Not only does the Display Name not appear (only the “@” appears), but everything following it (tabs of user activity, etc) disappears. The page just ends.

    Sorry, there was a typo in my original response. I wrote bp_displayed_user-id() instead of bp_displayed_user_id().

    When the page stops rendering like this, it means that there’s been a PHP fatal error. If you’re going to be modifying PHP files, it’s a good idea to get familiar with either your server’s PHP error log, or the WP_DEBUG constant. See https://codex.wordpress.org/Debugging_in_WordPress

    > Any insight into what I may be doing wrong would be appreciated.

    Hard to know exactly what is going on without seeing your site. For the template, my guess is that you have copied things into the incorrect location in your child theme. The template overrides only work if the directory structure matches directly, as described on the codex page linked above. So, the path should be something like wp-content/themes/your-theme/buddypress/members/single/index.php.

    For the CSS, it could be that your theme is using different CSS selectors for page titles. (.entry-title is used by some of the WordPress default themes, so I guessed that it might be in use on your theme too.) Use your browser’s inspector to get the proper selector. Here’s a useful tutorial: http://toolsqa.com/selenium-webdriver/finding-elements-using-browser-inspector/ Once you have found the id/class of the element, replace .entry-title in my snippet with that.

    #269053
    friendlygooners
    Participant

    Thanks i appreciate. The message is hidden now but still appear when loading but like you said i think the problem is with the theme.

    richard.miller
    Participant

    Thanks for the thorough and detailed response!

    Unfortunately, I haven’t been able to make your advice work.

    @username display:

    I replaced the indicated line of code in my child theme’s cover-image-header.php with yours. Not only does the Display Name not appear (only the “@” appears), but everything following it (tabs of user activity, etc) disappears. The page just ends.

    Page title:

    1) I copied the WP’s page.php file into my child theme’s buddypress/members/single/ directory and removed this line of code:<h1 class=”entry-title main_title”><?php the_title(); ?></h1>
    No effect.

    I tried hiding the title with CSS – that didn’t work either.

    Any insight into what I may be doing wrong would be appreciated.

    (all caches purged, alternate browsers tried, etc.)

    #269046
    Boone Gorges
    Keymaster

    Hi @writingbox – Unfortunately, it’s very hard to debug this without access to the live site. But if the problem is indeed that there is a margin-top issue on this element, you could put the following into your child theme’s style.css:

    
    body.single-item.groups #buddypress div#item-header div#item-actions {
        margin-top: 0;
    }
    

    Be sure to do this in the stylesheet for your child theme, not in BuddyPress itself or in your WP theme, because those changes would be lost when the plugin/theme is updated. Here’s a guide https://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/ – the section you want is under the “Creating a Child Theme” header, and the file where you should put your customizations is style.css.

    #269045
    Boone Gorges
    Keymaster

    Thanks, @friendlygooners – I did read your previous post and visit your site, but what I’m saying is that I’m not sure what “mesage” or “notification” you are talking about. I currently see a partially-hidden item in the upper-right corner of the page, which ends in the sentence “Please reply if you are not a bot”. Is this the message that you are talking about?

    If so, it appears that this element is created by your theme, Buddy. I don’t have access to the source of this theme, but I’m guessing that it uses some buggy logic to decide whether or not the notice should be shown. I’m unsure how to fix this bug in PHP because I can’t see the theme code. But you can hide this element with the following CSS:

    
    .sidebar #message {
        display: none;
    }
    

    You may also want to add some styling so that the top menu doesn’t cover up your site’s content:

    
    #content-wrapper {
        margin-top: 105px;
    }
    

    This may look different for logged-in users, so your mileage may vary.

    Boone Gorges
    Keymaster

    If I understand the “view link” issue correctly, then the following CSS is probably enough to hide it:

    
    .latest-update a { display: none; }
    

    A screenshot would verify whether we’re thinking of the same thing.

    Please note that if you’ve made changes in cover-image-header.php within the buddypress directory, these changes will be overwritten the next time BuddyPress is updated. Please create a child theme and override templates there. Here’s a brief guide: http://tentenbiz.com/override-buddypress-template-files/

    > When I click on a user name from the member’s directory, it take me to the compose a message like it is suppose to do, and the user name appears , but it does not save the user name in the send to box, do you have a fix for this also?

    Can you described this in more detail? When you say “it does not save the user name”, what do you mean? Do you mean that, when you press Send on the newly composed message, the page reloads without having been sent to the user in question?

Viewing 25 results - 3,201 through 3,225 (of 31,071 total)
Skip to toolbar