Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum css'

Viewing 25 results - 801 through 825 (of 2,742 total)
  • Author
    Search Results
  • #163394
    RemcoH
    Participant

    Hi, not yet.

    I changed that page to a fullwidth page. The issue with the padding remains. I tried to use some other css but that also effects the bbpress layout.

    See this page where the output is still with a padding: https://bfgv.nl/forums/zoeken/test/

    How can I remove the padding here without effecting the rest?

    #163358
    rolyestemonio
    Participant

    Hi Everyone,

    I am just newbie on this forum bbPress and i guess something is not right with this part:

    Step 6: Copy the Default bbPress Theme to Your Child Theme Folder

    The default files are no longer stored in wp-content > plugins > bbpress > bbp-themes. There is a folder called default at bbpress > templates > default, but which files need copying I do not know.

    While still in FTP and looking at the root folder of your WordPress installation, go to bbPress’ theme folder. That is, go to wp-content > plugins > bbpress > bbp-themes > bbp-twentyten. Download all the files from this folder except style.css. These are the files that will style your bbPress theme.

    Now return to your child theme folder (wp-content > themes > yourthemefolder-child). Upload the default bbPress theme files to the child theme folder. You can change the image you see for your child theme in the admin area by uploading a new screenshot.png image to this folder.

    I did not saw wp-content > plugins > bbpress > bbp-themes > bbp-twentyten the plugin directory so maybe it was mess i guess. What i saw is this wp-content > plugins > bbpress > templates > default.

    Any helps should highly appreciated.

    Thanks.

    #163167
    Nate LaChance
    Participant

    When I click the Forum link on the main menu to my site I am taken to the forum page. The menu link is of course the “active” link and highlighted in blue.

    But when I click on any of the forums the Forum link in the menu is no longer “active”

    I would like my Forum menu link to stay “active” (w/blue hyperlink) whenever users are within any of my forum sections.

    Is this possible?
    Implementing this with css would be great.

    My site is: http://www.carrielachance.com

    #163130
    Robkk
    Moderator

    No you were trying to find this code as if it was already in your theme , I just showed you the original code so you could understand why it was causing the issue.

    But just place this CSS code where you would put custom CSS like what I already listed.

    You do not have to replace any code just add it as custom css

    #bbpress-forums .single_post a {
      font-size: 12px !important;
      margin-left: 0 !Important;
    }

    Since your bbPress forums look custom I can’t tell which is custom and what could be your theme so you would have to edit this code and replace the original code in the bbpress.css file if you want or just place it in some other custom css areas with !important after the width to help out.

    You can place the code in the bbpress.css file where you want , it is your site
    the two places i said would be better for beginners so that the code doesn’t conflict with the media queries.

    li.bbp-forum-topic-count,
    li.bbp-topic-voice-count,
    li.bbp-forum-reply-count,
    li.bbp-topic-reply-count {
    border: 0px none;
    width: 10% !important;
    margin-right: 20px !important;
    margin-top: 0px !important;
    }
    #163129
    stiffmeister12
    Participant

    Okay so if I am understanding this correct (sorry im still learning this stuff)
    for my themes style.css files you want me to find the code

    .single_post a {
    font-size: 14px ;
    margin-left: 0 ;
    }
    and replace it with

    #bbpress-forums .single_post a {
    font-size: 12px !important;
    margin-left: 0 !Important;
    }

    And for this code

    li.bbp-forum-topic-count,
    li.bbp-topic-voice-count,
    li.bbp-forum-reply-count,
    li.bbp-topic-reply-count {
    border: 0px none;
    width: 10% !important;
    margin-right: 20px !important;
    margin-top: 0px !important;
    }
    you want me to open up the bbpress.css and add it above the media queries or just at the top above the other css rules?

    #163127
    Robkk
    Moderator

    Your theme had something similar to this CSS

    .single_post a {
      font-size: 14px ;
      margin-left: 0 ;
    }

    So the new CSS I gave you would overwrite it only on bbPress forums.

    you can add it

    to your child themes style.css

    in a custom css plugin

    and you could add it to the bbpress.css file if you put it in your child theme in a folder called css somewhere above the media queries or just at the top above the other css rules.

    #163124
    stiffmeister12
    Participant

    I just checked my themes style.css and there is nothing with bbpress forums in it right now for some reason there is however css code in my responsive.css for bbpress forums

    #bbpress-forums .status-category li.bbp-in-forum-freshness {
    margin-left: 1px;
    width: 33.494% !important;

    #bbpress-forums .bbp-topics li.bbp-body ul.topic {
    border-bottom: medium none !important;
    border-left: 0 none !important;
    border-top: 2px solid #aaa !important;
    box-shadow: 1px 1px 0.5px 0 rgb(221, 221, 221);

    #163112
    Robkk
    Moderator

    This seems very custom , looks pretty good though

    The bbPress forum header labels have certain widths to them. So this is the CSS you might want to adjust.

    li.bbp-forum-topic-count, 
    li.bbp-topic-voice-count, 
    li.bbp-forum-reply-count, 
    li.bbp-topic-reply-count {
      border: 0px none;
      width: 10% !important;
      margin-right: 20px !important;
      margin-top: 0px !important;
    }

    It might look shifted because you are trying to make your forums look more table like.

    The username being shifted is because of some CSS from your theme being added into bbPress.

    This custom css might help.

    #bbpress-forums .single_post a {
      font-size: 12px !important;
      margin-left: 0 !Important;
    }
    #163110
    stiffmeister12
    Participant

    So I am using a custom theme for my site and when I integrated bbpress into my theme the alignment is just off for some reason. On the home page the top bar is a little miss aligned where it says “topics” and “posts” Link – http://dailymut.com/dailymut-forums/

    When I go into a topic the alignment is really off under “topic” and a part of background is missing under “voices” “posts” and “freshness”. And There is a random circle over the “voices” text for some reason. Link – http://dailymut.com/forums/forum/madden/mut-player-reviews/

    Finally when I go into the Topic The picture is not aligned with the username and the text box looks off as well.

    I have tried to change the style.css and I have tried to change the bbpress CSS and nothing has worked maybe im imputing the wrong code or maybe im not in putting it correctly. Either way if anyone can check it out and see what the problem is and could tell me what code to input and where specifically to put it that would be greatly appreciated.

    Robkk
    Moderator

    I do not see the issue on your site currently.

    I do see these weird avatar image placement though.

    Add this CSS to fix that issue.

    #bbpress-forums p.bbp-topic-meta img.avatar {
      display: inline !important;
    }
    #162901
    husk3r
    Participant

    hello, i am using bbpress in a page with the shortcode.
    Ive managed to remove the sidebar creating a template which code is as follows ;
    ——————————————————————————-
    <?php
    /*
    Template Name: Forums
    */

    get_header(); ?>

    <div id=”primary” class=”site-content-forums”>
    <div id=”content” role=”main”>

    <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( ‘content’, ‘page’ ); ?>
    <?php comments_template( ”, true ); ?>
    <?php endwhile; // end of the loop. ?>

    </div><!– #content –>
    </div><!– #primary –>

    <?php get_footer(); ?>
    ——————————————————————-
    and then applying this custom CSS

    #site-content-forums {
    float: left;
    width: 100%;
    }

    in the page, ive chosen this template.

    BUT the forum still is not full width
    please help me!!

    #162836

    Topic: Custom CSS

    in forum Troubleshooting
    jbeagley
    Participant

    I have had no problem editing the appearance of the forum until I tried to change the background color of the current navigation link on the user details page… its the list of link including profile, topics started, replies created, etc…

    I have been editing it with the ‘custom css’ feature of my theme… this is what I added

    #bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a {
    background-color: #12681A;
    }

    I grabbed that code from the ‘inspector’ tool using F12 in my browser… just changed the color code… but is not affecting the page…

    any suggestions why this particular element isn’t being affected?

    wordpress 4.22
    bbPress 2.5.7
    http://hillberryfestival.com/forums/user/dhp/

    #162751

    Topic: widget hover color

    in forum Showcase
    projectprince
    Participant

    WordPress 4.2.2 Avada v3.7.4 bbpress Version 2.5.7
    http://www.haltoninfo.org.uk

    I would like the hover colour for all the text links to be in red.
    I have added the following to the custom CSS box:
    a:hover{color:red; !important;}
    This does not work in my sidebar.
    It works for the bbpress login widget, but not for Forum List, Recent Topics or Recent Replies widgets.
    Please can you tell me what CSS code to use.

    hammed4real101
    Participant

    Hi Everyone,

    Please, i want to make my wordpress site a forum website. so, have decided to use bbpress.

    And i want my forum to look exactly like this forum (styling and everything)

    So, have decided to use a template file.

    So, can somebody help me with the php code and css code to make my forum look exactly like this one.

    Thanks in anticipation.

    #162634
    alekseevas
    Participant

    Hello!
    Tell me, please, in what file you can edit the сascading style sheets for forum on bbpress?
    – To change the font size (too small).
    – To change the order of sub-forums – that was a column (and not in line).

    * bbPress version – 2.5.7

    #162559
    Robkk
    Moderator

    bbPress is inheriting some CSS from your theme that is suppose to be for the WordPress comments.

    try this custom CSS to fix the issue

    #bbpress-forums .reply {
      margin: 0px;
    }
    #162495
    Robkk
    Moderator

    use this PHP function to resize the small avatars

    function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
        $author_avatar = '';
        if ($size == 14) {
            $size = 24;
        }
        $topic_id = bbp_get_topic_id( $topic_id );
        if ( !empty( $topic_id ) ) {
            if ( !bbp_is_topic_anonymous( $topic_id ) ) {
                $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
            } else {
                $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
            }
        }
        return $author_avatar;
    }
    
    /* Add priority (default=10) and number of arguments */
    add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);

    The CSS you would have to use now is

    #bbpress-forums .bbp-author-avatar .avatar-24 {
      width: 24px !important;
      height: 24px !important;
      padding: 0 !important;
      border: none !important;
    }

    and you can remove the first function i gave you to test with

    #162489
    Robkk
    Moderator

    try this CSS code and hopefully this fixes your issue.

    it looks too small at 14px so i bumped it up to 24px , you can change that back to 14 if you want.

    #bbpress-forums img .avatar-14 {
      height: 24px;
      width: 24px;
      padding: 0;
      border: none;
    }
    jonotrain
    Participant

    Update: I figured out that I needed to be editing the bbpress.css file in my bbpress folder, and that I needed to edit the following definitions:

    #bbpress-forums #bbp-search-form #bbp_search {
    display: inline-block;
    width: auto;
    }

    #bbpress-forums #bbp-search-form #bbp_search_submit {
    }

    However, if I add “height:15px;” to both entries the result is that the boxes become smaller but the “Search” text in the button is cut-off completely, instead of re-positioning and/or resizing. If there is a way to reposition/resize the text it will work.

    jonotrain
    Participant

    on my forum (http://libraryofbabel.info/forum/?page_id=14 – WP 4.2.2 – bbp 2.5.7) I am trying to resize the search input box and the search submit button. I would like both of them to be smaller in the vertical dimension. I have tried adding the following to my theme’s css file:

    .bbp-search-form {
    height:10px;
    }

    But this changes its location – moving it closer to the table beneath it, without changing its size. What do I need to do to change the size?

    Robkk
    Moderator

    WAIT: I think I found it here:
    http://www.theworshipcommunity.com/members/admin/forums/subscriptions/

    There you go!

    Also, if you’re good w/ design/style, etc — can you tell me why my right sidebar gets pushed down to the bottom of the page on certain forum pages?

    i tired it last night but i couldn’t find what was causing the problem easily through CSS, i would have to dig in your code more.

    #162434
    Robkk
    Moderator

    @juggledad

    @robkk: Just to clarify something, the OR function_exists(‘is_bbpress’) was added (with some other code, to get around a bug that bbpress doesn’t seem to want to acknowledge or fix. see https://bbpress.trac.wordpress.org/ticket/2723

    Thanks for pointing that out, i did not know about that bug.

    Okay with this bug in bbPress you cannot use the WP conditional is_single() to affect all of the bbPress pages, since for some reason there is a bug for single user pages.Thanks for creating the trac ticket, I tested out and see that yes it does not work on user pages. Over the next few days/week i will check it out and see I can come up with a fix.

    But this bug is easily avoidable by creating a bbpress.php for your theme and just using the_content() instead of bfa_post_bodycopy() and removing OR function_exists('is_bbpress') from the bfa_post_bodycopy() function. The bbpress.php file also helps remove other post meta that might not be useful for bbPress forums instead of using CSS to hide them.

    The OR function_exists('is_bbpress') you can keep in bfa_get_options.php though as i do not see any problems with that.

    If there is something you can find on your end to fix the issue with your theme and bbPress then please drop an answer on this topic, because i haven’t looked and learned your theme 100% yet. Removing the function exists and creating a bbpress.php is the quickest solution to the problem that I could find.

    @kitfreeman

    This excerpt issue that you are seeing affects all of these areas

    category pages
    tag pages
    author pages
    archive pages
    search result pages
    and the home page

    which is where all the excerpt theme settings modify.

    #162430

    In reply to: Replies cutting off

    Robkk
    Moderator

    bbPress is inheriting .hentry and .reply styles from your theme.

    you can add this custom css to fix it.

    #bbpress-forums .reply {
      margin-left: 0;
      text-align: inherit;
    }
    
    #bbpress-forums .hentry {
      margin: 0;
    }
    #162411
    Chad R. Schulz
    Participant

    I know this is an old post. However, I’ve been screwing around with various javascript suggestions from other forums and came up with a solution that works (no problems yet discovered). I’m not exactly a code ninja, so if anyone can help to streamline the code let me know.

    Just insert the following lines into a custom javascript for your theme (if you need guidance on this there’s a lot of help available all over wordpress.org and other forums).

    jQuery(function($) {
    	var forum_input = $( '#bbpress-forums textarea' );
    	var forum_button = $( '#bbpress-forums .submit' );
    	var forum_limit = 50;
    	var forum_class = $( '<div class="forum_limit_info"><span>' + forum_limit + 
    	    '</span> characters needed</div>' ).insertAfter( forum_input );
    	forum_button.hide();
    	forum_class.show();
    	
    	forum_input.bind( 'keyup', function() {
    		var forum_length = $(this).val().length;
    		var chars_left = forum_limit - forum_length;
    
    		$( '.forum_limit_info span' ).html( chars_left );
    
    		if (forum_input)
    			( chars_left > 0 ) ? forum_class.show() : forum_class.hide();
    		
    		if (forum_button)
    			( chars_left > 0 ) ? forum_button.hide() : forum_button.show();
    	});
    });

    Basically this function hides the submit button and displays a countdown text counter until the minimum length is reached and then the button appears and the counter disappears.

    There are ways of hard-coding a minimum into php but I believe you have to edit core files and then insert these modified php files into a child theme. I couldn’t figured out how to insert a simple php function that would do what I wanted in a clean and simple way. So javascript it is.

    The forum_limit setting can be anything you want it to be, just change it. And you can customize your topics and replies minimums separately, if needed, with separate javascript functions using textarea#bbp_reply_content, textarea#bbp_topic_content instead of #bbpress-forums textarea.

    For my CSS stylings I chose to put a :before message on the left and the character count on the right using these:

    .forum_limit_info {
      text-align: right;
      font-size: 13px;
      color: red;
      line-height: 1.2;
      margin: 5px 5px 0px;
    }
    
    .forum_limit_info:before {
      float: left;
      content: '(Minimum Length: 50)';
      color: blue;
    }

    CSS Styling is theme dependent and can basically be however you want/need it to be–very flexible.

    I also created a similar javascript function for my site’s commenting system. Here’s that code as well:

    jQuery(function($) {
    	var comment_input = $( '#commentform textarea' );
    	var comment_button = $( '#entry-comment-submit' );
    	var comment_limit = 25;
    	var comment_class = $( '<div class="comment_limit_info"><span>' + comment_limit + 
    	    '</span> characters needed</div>' ).insertAfter( comment_input );
    	comment_button.hide();
    	comment_class.show();
    	
    	comment_input.bind( 'keyup', function() {
    		var comment_length = $(this).val().length;
    		var chars_left = comment_limit - comment_length;
    
    		$( '.comment_limit_info span' ).html( chars_left );
    
    		if (comment_input)
    			( chars_left > 0 ) ? comment_class.show() : comment_class.hide();
    		
    		if (comment_button)
    			( chars_left > 0 ) ? comment_button.hide() : comment_button.show();
    	});
    });

    Good luck to all,

    Chad

    #162386
    PinkishHue
    Participant

    You can do this either by using CSS to simply hide that information, or in the PHP templates where you can remove it completely.

    There’s a couple of similar threads here that may help you:

    Removing "HTML tags and attributes"

    HTML tags and attributes

    Hope that helps 🙂

Viewing 25 results - 801 through 825 (of 2,742 total)
Skip to toolbar