Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search results issue and CSS border radius issue


  • Center11Forward
    Participant

    @center11forward

    Hey,

    Two hopefully small issues I’d appreciate some help to resolve.

    1. Screenshot to display issue:

    https://dl.dropboxusercontent.com/u/70814425/BB%20Press/BBPress%20Strange%20Search%20Results.png

    In the above screenshot, I searched for Duleek using the bb-press search widget.

    As you can see the characters £#039; appears before and after the search term on the results. page. Any idea how to resolve that?

    2. Screenshot to display the issue:

    https://dl.dropboxusercontent.com/u/70814425/BB%20Press/BBPress%20Rounded%20Corners%20Issue.png

    I am trying to implement a simple border-radius css setting on the BB-Press forums. To achieve that I used:

    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: 92px 50% no-repeat rgba(65, 66, 64, 0.941176);

    The issue is that the light grey border (border: 1px solid #eee;) surrounding the entire forums continues to appear in the top left and right corners – That kind of defeats the purpose of the ’rounded corners’ feature.

    I can use border:none; and that removes the border from the forums – But I dont want to do that, I only want to remove the border from the top left and top right corners of the forums header… I tried combinations the following and it doesn’t work:

    .bbp-header {
    border-top: none !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    }

    Any idea on what to try?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

  • Robin W
    Moderator

    @robin-w

    On issue no. 1

    the &#039 is the code for a quote mark ie the ones either side of this ‘word’

    so something is displaying rather than interpreting this.

    Not sure why, could ebe a plugin or theme issue

    try

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    come back and let us know if that helped.

    On your issue no. 2, bbp-foums class does the overall border

    	.bbp-header, .bbp-forums   {
    	
    border-top: 1px solid #EEEEEE !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    }

    fixed it on my test site


    Center11Forward
    Participant

    @center11forward

    Hi Robin,

    Thank you for the prompt reply.

    Issue 2 is resolved with your code.

    As far as issue 1 goes – I disabled all plugins and it did not resolve the issue. So I went ahead and enabled twentyfourteen and it resolved it – Unfortunately that is not much good to me, as I need to continue using the theme I bought from Themeforest.

    The theme authors general attitude when you post any issue with an external plugin is that they basically don’t care as its not directly related to in-built theme functionality or ‘we haven’t tested that with our theme so can’t comment on your issue’.

    With the above in mind, could you suggest some way I could debug the issue myself and try to resolve it?


    Robin W
    Moderator

    @robin-w

    ok, you could try just using a separate page for bbpress.

    Create a file called bbpress.php in your theme folder

    Add the following code to the bbpress.php file

    <?php
    /**
     * bbPress wrapper template.
     */
    
    get_header(); ?>
    
    <?php while( have_posts() ): the_post(); ?>
    
    	<?php the_content(); ?>
    
    <?php endwhile; ?>
    
    <?php get_footer(); ?>
    
    

    If you need a sidebar add

    <?php get_sidebar(); ?>
    

    before the footer line

    See whether that works for you.


    Center11Forward
    Participant

    @center11forward

    Thanks for the suggestions.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.