timmy321 (@timmy321)

Forum Replies Created

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

  • timmy321
    Participant

    @timmy321

    Hi Robin, so the guys at Astra Forum suggested putting this into the Astra Child theme’s functions.php bit in Appearance – Theme Editor:

    add_filter( ‘get_the_archive_title’, ‘to_archive_title_remove_prefix’ );
    function to_archive_title_remove_prefix( $title ) {
    if ( is_post_type_archive() ) {
    $title = post_type_archive_title( ”, false );
    }
    return $title;
    }

    I have no idea how or why it worked, but it did!!

    Thank you for troubleshooting this with me 🙂

    Maybe if anyone has a similar issue in the future they could also try this fix?

    Kind Regards,

    Tim


    timmy321
    Participant

    @timmy321

    I’ve put the title as just ‘Forums’


    timmy321
    Participant

    @timmy321

    Does this mean you there’s a glimmer of hope that you could provide a solution? 🙂


    timmy321
    Participant

    @timmy321

    Yep it is indeed


    timmy321
    Participant

    @timmy321

    Ah I see!

    It’s likely the Astra theme I imagine then as this page was not built with elementor.

    I’ll ask in their forum,

    Thanks again Robin!

    Tim


    timmy321
    Participant

    @timmy321

    Hi Robin,

    I’m using the free version of Astra and Elementor.

    However, I’ve spent far too long trying to figure this out so I purchased CSS HERO like Chook suggested and I must admit I’m so happy I did!

    I imagine somehow it finds the root of all css on the site then somehow by putting in new css it overrides the current css (which is odd as when putting custom css into the wordpress customizer – additional css literally nothing will change on the site).

    Anyway.. it works!

    Thank you both,

    Tim


    timmy321
    Participant

    @timmy321

    Hi Robin,

    That unfortunately has not had any effect.

    Is my only option now to delete the astra theme and choose another one?

    If so, would you know any theme that this bbpress will work on?

    Many thanks,

    Tim


    timmy321
    Participant

    @timmy321

    Hi Chook,

    Thanks for the suggestion, but to be honest I was hoping to find out what the issue is & how to fix it as it’s only one page on the site. I’m trying to stay away from purchasing plugins for the time being as I am very early on in making the website & like to learn how it all works.

    I’ve looked into this a lot however & don’t think I have the skills to find out what is wrong.

    I was hoping someone might be able to understand the issue & suggest a fix.

    Does anyone have any other suggestions? Robin, could the placement of short code be causing an issue as you asked in your reply?

    Many thanks in advance,

    Tim


    timmy321
    Participant

    @timmy321

    Hi Robin,

    Thank you very much for replying!

    Ah yes, so it’s the ‘forum index’ page that is displaying a different style to all the other pages.

    I’ve used the short code: [bbp-forum-index] on the forum index page that I made in the WordPress ‘Add New’ page.

    I’ve then linked the url: http://findgyms.co.uk/forums/ to the ‘Forums’ button in my header.

    I hope this answers what you were asking?

    In regards to the explanation in the linked item 8.. Well, that was a learning curve! I didn’t even know how to access the WordPress database but now I do!

    If I’ve understand it correctly, this header issue is possible as the ‘topics’ pages in the forum posts have the correct header styling but the ‘index’ does not – from the description this says it could be due to the index page using the ‘about’ page style instead of the topics using the ‘posts’ style.

    After looking in the database I think that the forum index page is using the correct ‘Astra’ theme, but not showing the correct css for my header that all my other pages are (even the ‘About’ page).

    So I don’t think I would need to copy and rename the page.php file to bbpress.php (unless I wanted bbpress theme to be different to the astra theme – I think I’ve got that correct, if not apologies!)

    I really appreciate any further help with this as this is becoming quite confusing for my extremely novice brain 🙂

    Thanks,

    Tim


    timmy321
    Participant

    @timmy321

    I would also add..

    Could there be some inline code overriding my css on this page?

    I don’t fully understand what I’m looking at when I right click and press ‘inspect’ on the header.. but when I unlick things in the right bottom css part it does appear to have an affect on the header styling. If so, I have no idea how to override it.

    This is the css that appears to work for all my other pages:

    a, .page-title {
    font-family: a-love-of-thunder;
    }

    .ast-theme-transparent-header .site-title a, .ast-theme-transparent-header .site-title a:focus, .ast-theme-transparent-header .site-title a:hover, .ast-theme-transparent-header .site-title a:visited {
    font-family: a-love-of-thunder;
    }

    .ast-theme-transparent-header .site-header .site-description {
    font-family: a-love-of-thunder;
    }

    .ast-theme-transparent-header .site-title a, .ast-theme-transparent-header .site-title a:focus, .ast-theme-transparent-header .site-title a:hover, .ast-theme-transparent-header .site-title a:visited {
    font-weight: normal;
    text-shadow: 0px 0px 0px rgba(0,0,0,0.3);
    }

    .ast-theme-transparent-header .site-header .site-description {
    font-weight: normal;
    text-shadow: 0px 0px 0px rgba(0,0,0,0.3);
    }

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