Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum css'

Viewing 25 results - 676 through 700 (of 2,719 total)
  • Author
    Search Results
  • #168456

    In reply to: Author avatar issue

    Robkk
    Moderator

    Well that code is very specific for every button in your bbPress forums, but if it works I guess use it.

    I should have told you use this CSS instead earlier since it just pinpoints the quicktag toolbar buttons and not customize every input field in the content wrapper div.

    #bbpress-forums .quicktags-toolbar input.button {
        color: black;
    }
    #168401
    Pascal Casier
    Moderator

    Hi o.m.j,

    CSS will not help you in this case, not even nth-child or things like

    #bbpress-forums .bbp-pagination-count {
    	display: none;
    }
    #bbpress-forums .bbp-pagination-count ~ .bbp-pagination-count {
    	display: block;
    }

    will not work because the pagination is inside different divs and other elements.

    The only possibility would be somewhere going for a javascript like

    window.onload = function(){
        document.getElementsByClassName('bbp-pagination-count')[0].style.display = 'none';
    }

    (not tested yet) or go for some coding.

    Pascal.

    #168395

    In reply to: Delete “Header”

    Robkk
    Moderator

    You can use this custom CSS to hide it.

    #bbpress-forums li.bbp-header {
        display: none;
    }

    Or you can copy loop-topics.php to your child theme in a folder called bbpress. And remove these lines.

    <li class="bbp-header">
    
    		<ul class="forum-titles">
    			<li class="bbp-topic-title"><?php _e( 'Topic', 'bbpress' ); ?></li>
    			<li class="bbp-topic-voice-count"><?php _e( 'Voices', 'bbpress' ); ?></li>
    			<li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li>
    			<li class="bbp-topic-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li>
    		</ul>
    
    	</li>
    #168360

    In reply to: Author avatar issue

    Robkk
    Moderator

    @leirof

    Add this anywhere you can put custom css like in your themes style.css file or in a custom css plugin.

    #bbpress-forums div.bbp-the-content-wrapper input{
      color: #000;
    }
    #168234

    In reply to: Forum avatar

    Robkk
    Moderator

    i can’t see and option in buddypress to upload anything.

    See if this guide helps.

    Profile → Change Profile Photo

    On this post is a simple way to add a ranking based on post count.

    User ranking system?

    Where it says
    echo '<div class="all-stars"><i class="svg-icon one-star"></i></div>'

    That is where you can add your images like this.

    echo '<div class="all-stars"><img src="image source"/></div>'

    Make sure they are different for each post count specified in the snippet.

    You may need different CSS than what was mentioned in the post though.

    #168220
    Robkk
    Moderator

    I bet you just closed the topic as well and the color of the text is a gray color that is hard to see.

    Use this CSS to fix that.

    #bbpress-forums .status-closed,
    #bbpress-forums .status-closed a {
    	color: #aaa;
    }
    

    You do not have to use the bbPress shortcode for registration, you can use alternative plugins for frontend forms if you want.

    Do users need to register with the forum first to see the content of a post?

    bbPress by default has nothing that would hide the content of a topic post. It will make a whole topic hidden if the forum is private and the user is not logged in, and the topic and forum could also be hidden if it is a hidden forum.

    If you want a menu item for registration you can create a custom link to the default WordPress registration form, or if you have another plugin that adds frontend forms you can link to that page if you want.

    Question really is: how does a user of the educational material get to see the forum questions/posts?

    It really depends on the LMS plugin you might be using with your bbPress forums really. By default though a sticky/closed post should be kind of visible, the gray is hard to see sometimes.

    #168218
    Robkk
    Moderator

    Did you try running the repair tools in Tools > Forums one at a time??
    Has this issue always been present??

    Also here is some custom CSS to fix a weird avatar padding issue on your forums. Just add the CSS code into your child themes style.css file or anywhere else you can add custom css like in a seperate plugin.

    #bbpress-forums .avatar {
        padding: 0;
    }
    #168217
    Robkk
    Moderator

    THe issue in the image is a common theme related issue. The styles for list items in your theme is affecting the list items in the bbPress forums.

    I would give you a simple CSS fix, but you need to create a forum on your site, all I see is the notice saying you do not have forums.

    If you want to create full width forums, it is pretty easy if you are familiar to editing theme templates. You just need a simple loop and the surrounding classes to style it all together. Sometimes full-width templates can be copied and renamed to create a simple bbpress.php file in your theme.

    Getting Started in Modifying the Main bbPress Template

    I say just stay away from using iframes for this simple task.

    #168153
    gene-stevo
    Participant

    WP: 4.3.1 bbPress: 2.5.8 Theme: Jolene
    Hi Folks,
    I’m trying to tweak the colours of a site I’m building as a “learn WP” excercise and I cant find out how to change the colour of the Search button on my forums page.
    I have Custom CSS installed and I’ve entered this to control the Up and Over states of the SUBMIT button:

    #bbpress-forums .submit {
        background-color: #1e73be;
        color: #FFFFFF;
        float: center;
        vertical-align: middle;
        border-radius: 4px;
        height: 35px;
        width: 120px;
        font-size: 14px !important;
    }
    #bbpress-forums .submit:hover{
        background-color: #82D646;
        color: #FFFFFF;
        float: center;
        vertical-align: middle;
        border-radius: 4px;
        height: 35px;
        width: 120px;
        font-size: 14px !important;
    }

    I’ve also got this to control the colour of the SEARCH button but adding the :hover at the end of a copy of the original CSS, at the end of the id name doesn’t work.

    #bbpress-forums #bbp-search-form input[type=submit], 
    #bbpress-forums #bbp-search-form input[type=submit] {
        text-indent: 0;
        background: none;
        background-color: #1e73be;
        color: #fff;
        width: auto;
        height: auto;
        border-radius: 0;
        margin-top: 0;
    }

    Any Ideas greatly received. The Forums page is here if MEMBERS PAGES password requested it is… ccc

    #168055
    Robkk
    Moderator

    Oh yeah no problem.

    Here is a couple things I found when visiting your site.

    The first item in your forum index is a little off because of the bbPress breadcrumbs.

    Adding this CSS will help.

    div.bbp-breadcrumb {
        width: 100%;
    }

    There is an issue with the Freshness column text not really displaying right.

    #bbpress-forums p.bbp-topic-meta {
        text-align: inherit;
    }
    #168037
    intristin
    Participant

    I created a new page, I added the shortcode, I choose the template with no sidebar on the page I created, and bbpress just ignores it completely. I also tried a suggestion in another post about adding code to the style.css but that didn’t work as I was never very good with css. The wordpress theme I am using is called point and can be found here: https://wordpress.org/themes/point/

    If anyone could perhaps nudge me in the correct direction I would appreciate it, thanks.

    #168006
    hayleyadanner
    Participant

    I’m literally crying over here.

    I’ve been trying at this for days. Go here, change this, do that is so vague. Not everyone is a coder.

    I have tried adding this code to css, that template to bbpress files on cpanel

    I just want to be able to READ MY FORUM POSTS.
    The main page is okay. Click on a topic, the whole thing is grey, white/ you can see the writing but its as if there is a white overlay over the whole thing.

    I feel like breaking my computer and screaming as this is really stupid.

    http://www.thebestinformationever.com/forums/topic/curly-hair-help/

    #167915
    Robkk
    Moderator

    Use this custom css. Add the custom css to your child themes style.css file or anywhere else you can add custom css like in a custom css plugin.

    #bbpress-forums .reply {
        position: relative;
        top: inherit;
        right: inherit;
        line-height: inherit;
        font-size: inherit;
    }
    #167863
    Robkk
    Moderator

    Glad you got yourself sorted out in your issue.

    I also see that there is a huge avatar issue on your site so inserting this CSS into your child themes style css file or in a custom css plugin will fix that.

    #bbpress-forums p.bbp-topic-meta img.avatar, 
    #bbpress-forums ul.bbp-reply-revision-log img.avatar, 
    #bbpress-forums ul.bbp-topic-revision-log img.avatar,
    #bbpress-forums div.bbp-template-notice img.avatar, 
    #bbpress-forums .widget_display_topics img.avatar, 
    #bbpress-forums .widget_display_replies img.avatar {
        margin-bottom: 0;
        vertical-align: middle;
        border: 1px solid #ddd;
        width: 14px !important;
        height: 14px !Important;
    }
    #167861
    ChrissiLisa
    Participant

    Hello,

    how can I give different childforums there own style ?

    Is there a hook like “before show topics” where I can place my own css style ?
    I counldnt find anything in the codex.

    Thanks,
    bye
    ChrissiLisa

    #167856
    gin_marcin
    Participant

    doesn’t work on my side :-(;

    adapted my child css but it’s still the same result;

    the list gets fingered with the topics by the specified forum, but all the rest (header on top of the list and create new topic below the list) is still there.

    thx
    marcin

    #167822
    Robkk
    Moderator

    This is a common theme issue related to the theme styling absolute positioning the comment reply link for WordPress comments.

    Use this custom css to fix the issue. Add it in your child themes style.css file or anywhere you can add custom css like in a custom css plugin.

    #bbpress-forums .reply {
        position: relative;
        top: inherit;
        right: inherit;
        line-height: inherit;
        font-size: inherit;
    }
    #167808
    Robkk
    Moderator

    It is a common issue where CSS for WordPress comments reply link has conflicts with actual reply posts in bbPress.

    Copy this custom css in your child themes style.css file or in anywhere you can put custom css like in a custom css plugin.

    #bbpress-forums .reply {
        font-size: inherit;
        padding: inherit;
        position: relative;
        right: inherit;
        top: inherit;
    }
    #167790
    zbgc
    Participant

    Hi all,

    Running WP 4.3.1 and BBPress 2.5.8

    The issue: Forum replies appear above forum content in this theme (have tested using vanilla 2015 theme and there’s no problem). The partial solution is to play with CSS.

    I’ve got a CSS plugin (Simple Custom CSS) and making changes in there, and I’ve managed to get the reply content to appear in almost the right place using:

    ul.forums li {position: relative;}

    However, this means the content appears above the bb-reply-header DIV.

    Any help appreciated 🙂

    Thanks

    L.

    #167785
    lhowill
    Participant

    I found the answer in this forum post: https://bbpress.org/forums/topic/too-many-revision-statements-how-to-remove-all-but-1/

    PinkishHue’s css worked for me.

    #167761
    Robkk
    Moderator

    This is going to increase the font-size of the topic and reply content of the same exact specified font size on your site.

    Add this custom CSS to your child themes style.css file or anywhere else you can put custom CSS like a custom CSS plugin.

    .bbp-topic-content p,
    .bbp-reply-content p {
        font-size: 1rem;
    }

    If you want to increase the font size of other areas of the forum be more specific.

    #167730
    Robkk
    Moderator

    Where do I add those lines of code?

    It is CSS put it in your child themes style.css file, a custom css plugin, or anywhere you can put custom css.

    I assume you want me to edit one of the PHP files

    No, never edit the plugin core files, unless you are 100% sure you know what you are doing. Since you are a novice, just do not do it.

    I don’t know what “multisite” is.

    Since you do not know what it is, I am going to assume you do not have it. You do not need it to solve this issue so no need to install any plugins, just curious if you have it. I see it is probably that you have a test enviroment of WordPress because you are planning on migrating to a WordPress/bbPress install from phpBB.

    Yes, your deleteme user does appear in the Users list.

    Does it have the Participant forum role too?

    Alright, so I assume you’re talking about Peter’s Login Redirect plugin, and I assume I’ll need to edit the settings under Settings -> Login/logout redirects, correct?

    You seem to be getting that together. Not sure why you are redirecting to the forums especially a specific forum, but yeah you got it.

    I created a test Subscriber user, which in fact is redirected upon logging in, but isn’t logged in (of course that code you recommended still needs added in).

    The code I gave you helped remove the bullet list displaying in your forums.

    Again thank you for trying to help Robkk, but I would definitely like it if you could be a bit more descriptive in what I need to do to fix this login problem

    We still have to troubleshoot what is causing the user to not seem to be have access to the forums.

    Try some of these troubleshooting steps listed in this guide to see if it could be theme/custom theme related like if you copied the bbPress customizable templates into your child theme and edited them and messed something up on accident, check to see if a plugin could be causing an issue, you can check to see if caching could be an issue by flushing cache from your site, if you edited the bbPress and ever do not remember what you edited you can reinstall a fresh version of the plugin to see if it fixes the issue also.

    Troubleshooting

    Do not just go deleting cache files from WordPress or code in bbPress.

    #167720
    Mei Ling
    Participant

    Hello,

    We have done this… we are still testing it. Be careful use VPS:

    <?php

    /**
    * Now that you have your custom column, it’s bulk/quick edit showtime!
    * The filters are ‘bulk_edit_custom_box’ and ‘quick_edit_custom_box’. Both filters
    * pass the same 2 arguments: the $column_name (a string) and the $post_type (a string).
    *
    * Your data’s form fields will obviously vary so customize at will. For this example,
    * we’re using an input. Also take note of the css classes on the <fieldset> and <div>.
    * There are a few other options like ‘inline-edit-col-left’ and ‘inline-edit-col-center’
    * for the fieldset and ‘inline-edit-col’ for the div. I recommend studying the WordPress
    * bulk and quick edit HTML to see the best way to layout your custom fields.
    */
    add_action( ‘bulk_edit_custom_box’, ‘manage_wp_posts_be_qe_bulk_quick_edit_custom_box’, 10, 2 );
    //add_action( ‘quick_edit_custom_box’, ‘manage_wp_posts_be_qe_bulk_quick_edit_custom_box’, 10, 2 );
    function manage_wp_posts_be_qe_bulk_quick_edit_custom_box( $column_name, $post_type ) {

    switch ( $post_type ) {
    case ‘topic’:
    switch( $column_name ) {
    case ‘bbp_topic_forum’:
    ?><fieldset class=”inline-edit-col-left”>
    <div class=”inline-edit-col”>
    <label>
    <span class=”title”>Deplacer dans le forum</span>
    <span class=”input-text-wrap”>
    <select name=”deplacer”>
    <option value=”Null”></option>
    <?php /* recuperation des forums “forum” */
    $args = array(
    // ‘post_parent__not_in’=> array( 0 ) ,
    ‘post_type’ => ‘forum’
    );
    $forums = new WP_Query( $args );
    // boucle de test affiche en debug id et titre forum
    if ( $forums->have_posts() ) {
    while ( $forums->have_posts() ) {
    $forums->the_post();
    echo ‘<option value=”‘.$forums->post->ID.'”>’.get_the_title() . ‘</option>’ ;
    }
    }
    wp_reset_postdata();?>

    </select>
    </span>
    </label>
    </div>
    </fieldset><?php
    break;
    }
    break;
    }
    }

    /**
    * When you click ‘Quick Edit’, you may have noticed that your form fields are not populated.
    * WordPress adds one ‘Quick Edit’ row which moves around for each post so the information cannot
    * be pre-populated. It has to be populated with JavaScript on a per-post ‘click Quick Edit’ basis.
    *
    * WordPress has an inline edit post function that populates all of their default quick edit fields
    * so we want to hook into this function, in a sense, to make sure our JavaScript code is run when
    * needed. We will ‘copy’ the WP function, ‘overwrite’ the WP function so we’re hooked in, ‘call’
    * the original WP function (via our copy) so WordPress is not left hanging, and then run our code.
    *
    * Remember where we wrapped our column data in a <div> in Step 2? This is where it comes in handy,
    * allowing our Javascript to retrieve the data by the <div>’s element ID to populate our form field.
    * There are other methods to retrieve your data that involve AJAX but this route is the simplest.
    *
    * Don’t forget to enqueue your script and make sure it’s dependent on WordPress’s ‘inline-edit-post’ file.
    * Since we’ll be using the jQuery library, we need to make sure ‘jquery’ is loaded as well.
    *
    * I have provided several scenarios for where you’ve placed this code. Simply uncomment the scenario
    * you’re using. For all scenarios, make sure your javascript file is in the same folder as your code.
    */
    add_action( ‘admin_print_scripts-edit.php’, ‘manage_wp_posts_be_qe_enqueue_admin_scripts’ );
    function manage_wp_posts_be_qe_enqueue_admin_scripts() {

    // if code is in theme functions.php file
    wp_enqueue_script( ‘manage-wp-posts-using-bulk-quick-edit’, trailingslashit( get_bloginfo( ‘stylesheet_directory’ ) ) . ‘js/bulk_quick_edit.js’, array( ‘jquery’, ‘inline-edit-post’ ), ”, true );

    // if using code as plugin
    //wp_enqueue_script( ‘manage-wp-posts-using-bulk-quick-edit’, trailingslashit( plugin_dir_url( __FILE__ ) ) . ‘js/bulk_quick_edit.js’, array( ‘jquery’, ‘inline-edit-post’ ), ”, true );

    }

    add_action( ‘save_post’, ‘save_deplacer’);
    function save_deplacer() {
    global $wpdb;

    if( $_GET[‘post_type’]=’topic’ && $_GET[‘bulk_edit’]=’Mettre à jour’){

    $post_ids= $_GET[‘post’];
    $forum_id = $_GET[‘deplacer’];
    foreach($post_ids as $post_id){

    $wpdb->query(“UPDATE $wpdb->posts SET post_parent = $forum_id WHERE ID = $post_id “);
    }
    }
    }
    /*echo ‘

    ';
    	print_r($post_type);
    	echo '

    ‘;
    die();

    Array
    (
    [s] =>
    [post_status] => all
    [post_type] => topic
    [_wpnonce] => dcfdf56a2d
    [_wp_http_referer] => /public/wptest/wp-admin/edit.php?post_type=topic&paged=1
    [action] => edit
    [m] => 0
    [bbp_forum_id] =>
    [paged] => 1
    [mode] => excerpt
    [_status] => -1
    [tax_input] => Array
    (
    [topic-tag] =>
    )

    [Deplacer] => 39
    [bulk_edit] => Mettre à jour
    [post_view] => excerpt
    [screen] => edit-topic
    [post] => Array
    (
    [0] => 43
    [1] => 41
    )

    [action2] => -1
    )*/

    /**
    * Step 3: display an admin notice on the Posts page after deplacer
    */
    add_action(‘admin_notices’, ‘custom_bulk_admin_notices’);
    function custom_bulk_admin_notices() {
    global $post_type, $pagenow ;

    if( $_GET[‘post_type’]=’topic’ && $_GET[‘bulk_edit’]=’Mettre à jour’){

    $messages = array();
    $messages[] = bbp_admin_repair_forum_meta();
    $messages[] = bbp_admin_repair_topic_meta();
    $messages[] = bbp_admin_repair_freshness();
    $messages[] = bbp_admin_repair_reply_menu_order();
    $messages[] = bbp_admin_repair_forum_topic_count();
    $messages[] = bbp_admin_repair_forum_reply_count();
    $messages[] = bbp_admin_repair_topic_reply_count();
    $messages[] = bbp_admin_repair_topic_voice_count();
    $messages[] = bbp_admin_repair_user_topic_count();
    $messages[] = bbp_admin_repair_user_reply_count();

    //if($pagenow == ‘edit.php’ && $post_type == ‘topic’ && isset($_GET[‘deplacer’])) {

    $messageori = sprintf( _n( ‘Topic déplacé.’, ‘%s topics déplacés.’, $_REQUEST[‘deplacer’] ), number_format_i18n( $_REQUEST[‘deplacer’] ) );

    foreach ($messages as $message){
    echo'<div class=\”updated\”><p>’.$message[1].'</p></div>’;
    }
    echo “<div class=\”updated\”><p>{$messageori}</p></div>”;
    }
    }

    ?>

    #167685
    Robkk
    Moderator

    You can try this instead. This hides the “this forum contains … topics… and” description that is blue on top of forums.

    add_filter( 'bbp_get_single_forum_description', '__return_false' );
    add_filter( 'bbp_get_single_topic_description', '__return_false' );

    You can try this CSS for the reply/topic form text areas.

    #bbpress-forums fieldset.bbp-form textarea {
        border: 1px solid #ccc;
    }

    Anything else you want on this site I am sure there has already been a topic about so searching the forums might be best.

    #167674

    In reply to: Reply text area

    Robkk
    Moderator

    Does this CSS help any?? If it doesn’t add !important to it.

    #bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
        max-width: 100%;
        height: auto;
    }
Viewing 25 results - 676 through 700 (of 2,719 total)
Skip to toolbar