Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'remove sidebar'

Viewing 25 results - 76 through 100 (of 323 total)
  • Author
    Search Results
  • #163803
    mette_Chr
    Participant

    Hey guys!
    I’m working on forum in bbPress and got some symbols in front of debatforum. It is 5 of these symbols > in the right sidebar. I need to remove these from the code, but can’t figure out which files. Can you help me?

    #163324
    RemcoH
    Participant

    hi,

    My genesis theme adds a padding to .entry and therefore the content-sidebar pages have this padding too. It makes the forum content really narrow. I want to remove that padding. Only for forum pages and topics. How?

    The site is still in development but i included a url that shows the issue.

    WP version 4.2.2
    BBpres verion 2.5.7

    https://bfgv.nl/forums/onderwerp/dit-is-ook-een-test/

    Thnx

    #163171

    In reply to: BBPress fullwidght

    PinkishHue
    Participant

    Your site is not available so I can’t have a look.

    If you’re using a custom theme with ‘theme options’ you need to look at the settings there to see if the default setting is with a sidebar, your forum will use this default page unless you create templates specially for it.

    Here’s some info on the templates that bbpress looks for in your theme:

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    Usually using page.php in most themes, so you could try opening up your page.php, remove the code that includes a sidebar, then save it as bbpress.php

    #163120
    Robkk
    Moderator

    Id say use this plugin ,add the widget to a sidebar ,go to the forum and remove the subscribers from the widget

    https://github.com/easydigitaldownloads/bbPress-Topic-Subscribers

    #162916
    husk3r
    Participant

    ok, i made a mistake with the namee bbpress .php , changed to bbpress.php and now it is using the bbpress.php template, again ive removed the <?php get_sidebar(‘page’); ?> but it is still not full width

    the code is like this

    <?php
    /*
    Template Name: bbpress
    */

    get_header(); ?>
    <div class=”stump”>
    <div class=”container topborder”></div>
    <div class=”container contentarea”>
    <div class=”row animated fadeInUp”>
    <div id=”content” class=”col-md-8 col-sm-8″>
    <?php get_template_part(‘loop’, ‘page’); ?>
    <?php wp_reset_query(); ?>
    </div>

    </div>
    </div>

    <div class=”container bottomborder”></div>
    </div>
    <?php get_footer(); ?>

    #162915
    husk3r
    Participant

    I did that, using the plugin my theme was using the page.php , so I copied it to my themes directory, and renamed it to bbpress.php

    i have removed the <?php get_sidebar(‘page’); ?> from the code in the template but it is still not full width, and when I use the plugin again , it says that it still uses the page.php
    even when Ive selected the bbpress template in the page that contains the forums shortcode

    #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!!

    Robkk
    Moderator

    Well the file you are suppose to copy and create a bbpress.php file from is index.php

    And although putting the forum index shortcode in a page is “easier” in a sense , you will still come up with issues just like you are going through. This is why I have been editing the Codex for the last few days to hopefully fix these issues that users might come across.

    As for that weird wp tweaks issue you have , I do not know how to fix that. if you are only using that plugin just for a bbPress specific sidebar there are better plugins than that one.

    And it is not hard to manually create a bbPress specific sidebar too.

    Thanks so much – although I am wondering if it is going to solve my problem (but please do!)

    it might help a little, there is a bunch of post meta that you would have to remove for it to look correct.

    You can also contact me later today through email, if you need help during the process.

    Contact

    #162347
    itsmeitsb
    Participant

    Hello,

    WP 4.2.2
    BB 2.5.7

    Looking to find where I can just remove the “You Must Be Logged In” prompts all together. I’ve already got the login/register stuff added to my sidebar, I don’t need the prompts to direct people.

    View post on imgur.com

    View post on imgur.com

    These are the specific things I’m speaking of. Can I just block them somehow in the css or is there somewhere I can simply delete the code to remove them all together?

    Thanks for your help.

    sharongraylac
    Participant

    Hello!

    I removed my sidebar but I would like to keep the “favorite” option.

    Is there another place to put it?

    Thanks!
    Sharon
    bellynsoul.com/forums

    #161344
    Robkk
    Moderator

    my latest post disappeared, maybe because of too many links.

    probably

    the default menu below the avatar shall be removed and appear in the sidebar on the right in a dropdown menu ( not only to make a consistent layout but also to prevent users to see the information also on other user profiles).

    did you create a custom widget?? it might be better if you did for this because then you could output all of the links to the user profile.

    #161343
    Robkk
    Moderator

    since your other pages with the sidebar look fine and adjust well.

    only thing i can think is maybe you created a bbpress.php and removed some divs that were essential for the sidebar??

    since your theme is free i will download it and check it out.

    #161293
    project_subdomain
    Participant

    @robkk, thanks again for your support. my latest post disappeared, maybe because of too many links.

    regarding the new menu, i hope this image can explain it better:
    the default menu below the avatar shall be removed and appear in the sidebar on the right in a dropdown menu ( not only to make a consistent layout but also to prevent users to see the information also on other user profiles). Optimally it should be shown only when the user is logged in, but yet i’d be very happy to get it working no matter of the user’s login status.

    unfortunately i can’t provide a link at the moment, so i put the id’s at the image.

    parent menu items are “nachrichten” and “account”.
    in “account” the links for the user profiles shall be displayed as sub menus.

    the parent menu-code looks like this:
    <li id="menu-item-566" class="menu-item menu-item-type-post_type menu-item-object-page cur…ancestor menu-item-has-children menu-item-566 dcjq-parent-li">

    the sub menu show profile-code like this:
    <li id="menu-item-572" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-572"></li>

    (for “edit profile” I already found a menu-link solution)
    [btw: default theme twenty twelve]

    #161157
    project_subdomain
    Participant

    thanks robkk!
    now the profile link is in the main and also in my sidebar menu.
    unfortunately i’d need to have it in the sidebar menu only. also i’d need a link to the single profile pages as I’d like to replace the default display of options below the avatar which I’d remove then.

    which amendments of that code would do that?

    #160691
    Svend Rugaard
    Participant

    I have this theme from ThemeFuse called GameZone, and every changes i have made since the original i usually have fix by my self somehow, but the other day i was tired of PHPBB and converted and move it over completly to BBPress, and it work as is should i got some of the css fix so its almost as ret of the page, the only problem is i found out even i use the themes own “widget” deattachtment for pages i need to be with out side bars Like Guides etc.

    Then the BBPress have put my finish touch on hold for the last 36 hrs and i am really irritated over it , because why should a thing i literally find 100 of topics about this problem. Reeally think it is weird there isnt being any solution implented as part of bbpress.

    Anyway my forum here is correct size in the “front-page”

    1. Frontpage : http://www.playstationforum.dk/debat-forum/
    2. Sub-page : http://www.playstationforum.dk/debat/kategori/playstationforum-dk/

    As yoy see the sub-page dont have full width even i have remove made a page.php and copy it over to my child theme and rename it to bbpress.php and remmove

    <?php get_sidebar();?>

    This is mention alot of places and everything there is sidebar related, but i can really not figure out what because no matter what i remove it either remove background completly or remove the sites build up. And i have made a Page for it and use the shortcode. – Still nothing – Hope someone can help. I actually change to bbpress because i though the hardest part would actually import everything from PHPBB

    here is my code as it is now

    <?php 
    global $is_tf_blog_page,$post;
    $id_post = $post->ID; 
    if(tfuse_options('blog_page') != 0 && $id_post == tfuse_options('blog_page')) $is_tf_blog_page = true;
    get_header();
    if ($is_tf_blog_page) die(); 
    ?>
    <?php $sidebar_position = tfuse_sidebar_position(); ?>
    <?php tfuse_shortcode_content('before');?>
    <div class="main-row content-row">
        <div class="container">
            <?php if ($sidebar_position == 'left') : ?>
               <div class="middle-main sidebar-left">
            <?php endif;?>
            <?php if ($sidebar_position == 'right') : ?>
                <div class="middle-main content-cols2">
            <?php endif;?>
            <?php if ($sidebar_position == 'full') : ?>
                <div class="middle-main content-full">
            <?php endif; ?> 
                        <div id="primary" class="content-area">
                            <div class="inner">
                                <article class="post post-details">
                                    <?php if(!tfuse_page_options('hide_title')):?>
                                        <header class="entry-header">
                                            <h1 class="entry-title"><?php echo get_the_title();?></h1>
                                        </header>
                                    <?php endif;?>
                                    <div class="entry-content">
                                        <?php  while ( have_posts() ) : the_post();?>
                                            <?php the_content(); ?>
                                        <?php break; endwhile; // end of the loop. ?>
                                    </div>
                                </article>
                                <?php if ( comments_open() ) : ?>
                                    <?php tfuse_comments(); ?>
                                <?php endif;?>
                            </div>
                        </div>
                    <?php if (($sidebar_position == 'right') || ($sidebar_position == 'left')) : ?>
                        <div id="secondary" class="sidebar widget-area">
                            <div class="inner">
                                
                            </div>
                        </div>
                    <?php endif; ?>
                </div> 
        </div>
    </div>
    <?php tfuse_shortcode_content('after'); ?>
    <?php get_footer();?>
    #160071
    wenlujon
    Participant

    the forum is too narrow due to the sidebar (it won’t be a problem in wordpress), it’s even worse if a topic has a lot of pictures (the pictures looks very narrow), is there any method to remove the sidebar in the forum totally but still keep it in wordpress? also, it’s better that the change won’t affect the view from smartphone.

    please note i’m using the twenty-fifteen theme (I’ve created a child theme for it already).

    #159377

    In reply to: Sidebar won't go away

    Robkk
    Moderator

    i see it on the right..i think.

    is it a userpro widget or does it do this automatically??

    if its just a userpro widget , and you want to remove the sidebar from all bbPress forum areas create a bbpress.php from page.php or single.php and remove all the content you dont need especially the get_sidebar php code.

    heres some help on creating a bbpress.php

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    if userpro does it automatically contact the plugin author.

    if you need any help creating a bbpress.php file and removing the unnecessary code you wouldnt need , reply back and possibly paste your page.php file first.

    #159338
    peter-hamilton
    Participant

    Been busy and had little time to work on my new theme, here are a few updaes.

    Removed the navigation on the right and re-sized the members header.
    onlijn.com members profile

    Made a sidebar that holds three seperate sidebars, this allowed more info on relatively less space, tabbed for easy navigation between forums/articles/groups widgets.
    And here you can see he new sidebar on my new members page, all new members get an identicon if they do not upload an avatar.
    onlijn.com members page

    #158423

    In reply to: Oh Brother…

    Robkk
    Moderator

    ok so copy page.php and rename the copied version to bbpress.php and make sure its at the root of your theme with the page.php file and single.php file and see if it works.

    you can test it out by removing the <?php get_sidebar(); ?> code and see if the sidebar is removed only on bbpress pages and posts.

    jimbofoxman
    Participant

    I have a child theme setup using the Child Theme Configurator plugin. I have the following in the child theme folder; style.css, function.php and bbpress.php (renamed from page.php).

    I am using the WP-Englightened theme.

    I copied the page.php to the child root and renamed it to bbpress.php. There doesn’t seem to be anything in that file to remove for the sidebar.

    <?php get_template_part( 'content', 'before' ); ?>
    
    <?php 
    	if (have_posts()) : while (have_posts()) : the_post(); 
    	global $do_not_duplicate;
    	$do_not_duplicate[] = $post->ID;
    ?>
    
    						<div <?php post_class('singlepage clearfix'); ?> id="single-page-<?php the_ID(); ?>">
    
    							<div class="entry">
    
    								<h1 class="page-title"><?php the_title(); ?></h1>
    
    								<?php if ( get_post_meta( $post->ID, 'video_embed', true ) ) {
    									$video_embed = get_post_meta( $post->ID, 'video_embed', true );
    									echo '<div class="post-feature-video single">';
    									echo '<div class="single-video">';
    									echo $video_embed;
    									echo '</div>';
    									echo '</div>';
     								} ?>
    
    								<?php the_content(); ?>
    
    								<div style="clear:both;"></div>
    
    								<?php wp_link_pages(); ?>
    
    							</div>
    
    						</div>
    
    <?php endwhile; endif; ?>
    
    <?php get_template_part( 'content', 'after' ); ?>

    I tried putting this in the style.css file based on a thread here.

    .site,
    .site-header {
    	max-width: 100%;
    }
    
    .bbpress-forums .col-2cl .main {
    	background: none repeat-y right 0;
    	padding-right: 0;
    }
    
    .site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content .entry-meta, 
    .page-content {
    	max-width: 100%;
    }
    
    .form-allowed-tags {
    	display: none;
    }
    
    div.bbp-breadcrumb, 
    div.bbp-topic-tags {
    	font-size: inherit !important;
    }
    
    #bbpress-forums ul.bbp-lead-topic, 
    #bbpress-forums ul.bbp-topics, 
    #bbpress-forums ul.bbp-forums, 
    #bbpress-forums ul.bbp-replies, 
    #bbpress-forums ul.bbp-search-results {
    	font-size: inherit !important;
    }
    
    #bbpress-forums {
    	font-size: inherit !important;
    }
    
    .bbpress .hentry {
    	margin: 0 auto 48px;
    	max-width: 100%;
    }
    
    @media screen and (min-width: 1008px) {
    	.bbpress .site-content {
    		margin-right: 0;
    		margin-left: 182px;
    	}
    }
    
    @media screen and (min-width: 1080px) {
    	.bbpress .site-content {
    		margin-left: 222px;
    	}
    }
    
    @media screen and (min-width: 1218px) {
    	.bbpress .site-content .entry-content {
    		margin-right: 0;
    	}
    }
    
    @media screen and (min-width: 673px) {
    	.bbpress .site-content {
    		margin-right: 0;
    	}
    }

    If I create a page and use the short code for bbpress and tell it in the page options to do full width it works fine for the main page but not for the rest of them.

    #154197
    Robkk
    Moderator

    @bsilverop

    remove the !important from

    @media screen and (min-width: 1008px) {
     .bbpress .site-content {
    	margin-right: 0 !important;
    	margin-left: 182px !important;
    }
    }

    there should be some space to the right, I will try to figure out that too, but tell me if removing the !important fixes the forums hiding under the left sidebar.

    #154175
    readwriteandedit
    Participant

    Robin,

    I added the Private Group plugin. And I removed the sidebar so I wouldn’t have a list of recent topics or recent replies. That leaves only the forum search box to consider.

    I’ve got one private forum–visibility for the forum is set to private (and I did not check visibility on the Private Group settings page), I have a forum group checked on the forum page, and in Exchange Membership I restricted the content to forum members only.

    However, through the search box on the public forum page, I can still search for words from a test topic in the private forum, and the topic and reply-to forum comments show in the search results. I can get this result while not being logged in to the site.

    my site: The Editor’s Blog Members

    link to the public forum page: Editor’s Blog Member Forum

    If you type Sally in the search box in this public forum, it returns a topic and reply from the private Pro Editors forum. I was expecting to see a no topics found message. The Exchange Membership plugin did insert a message about the page being restricted, but those who aren’t members of the private forum can still see the titles of topics and replies, the topic itself, and the name and Gravatar of the topic author and the person who replied.

    I tried this in multiple browsers, with me not logged on. And I deleted browsing histories and cookies.

    I’m obviously missing something. What else can I do to hide private forum topics and replies from search results?

    Thanks for your help.

    #154166
    bsilverop
    Participant

    Thanks, removing @media screen and (min-width: 1008px) and adding !important seems to have worked. The forum now resizes to fit the page if you go to a smaller screen size. I appreciate the help from both @robin-w and @robkk. I didn’t expect support like this, I really am grateful. Thanks again!

    Solution:

    1) Copy page.php and rename bbpress.php. Remove <?php get_sidebar( 'content' ); ?> as I want to extend beyond the content sidebar.

    2) Add CSS:

    #bbpress-forums {
    	font-size: inherit !important;
    	width: 100% !important;
    }
    
    .bbpress .site-content {
    	margin-right: 0 !important;
    	margin-left: 182px !important;
    }
    #154105
    bsilverop
    Participant

    Thanks for the update. I have a file called full-width.php in wp-content/themes/twentyfourteen/page-templates. And I apologize, I don’t think I was clear in my original post. I want the forum to extend the width of the page beyond the content sidebar on the right side of the page. I do want the left sidebar to remain.

    I modified the copy of bbpress.php taken from page.php, and I removed

    <?php get_sidebar( 'content' ); ?>

    I was already hiding the content sidebar on forum pages, so the result there is the same. The forum is cut short where the content sidebar on the left normally appears.

    I tested the full width page template on one of my pages to make sure it extends beyond the content sidebar on the right, and it does. I am hoping to get the forum to do the same. Thanks again,

    #154102
    Robin W
    Moderator

    my twentyfourteen theme doesn’t have a full-width.php.

    Suggest you make a copy of page.php – rename it bbpress.php

    then remove

    get_sidebar();

    near the end

    and save it and let us know if that works

Viewing 25 results - 76 through 100 (of 323 total)
Skip to toolbar