Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #715526

    Hi There,
    been reading through the forums and getting css snippets, but really I would like to put all bbpress defaults back. Is there a css list or functions list to add to make bbpress forums the default in enfold?
    BBPress – 2.5.11
    Enfold 3.8
    -Ben

    #715550

    Hey Ben!

    Please add following code to Functions.php file in Appearance > Editor

    function wp_change_bbcss() {
       wp_dequeue_style( 'avia-bbpress' );
    }
    add_action( 'wp_print_scripts', 'wp_change_bbcss', 100 );

    Please consider using child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ and add the code to functions.php file of your child theme to make the changes update proof.

    Best regards,
    Yigit

    #715663

    Huzzah thank you – I will try that.

    #715778

    Hi,

    Great, we’ll leave the thread open in case you should have any problems.

    Best regards,
    Rikard

    #842791

    I’d like to hook in here: I added the code provided by Yigit to the functions.php of my child theme, but I do not see any difference. And I see that bbpress-mod.css is still active.

    Anything changed in how this has to be dequeued?

    (I already read that you will not publish the CSS that you are using for your own forum here, which is a pity…)

    Thanks!
    Klaus

    #842923

    Hi @KlausW,

    Can you create a new thread with more details?

    Best regards,
    John Torvik

    #842928

    I can of course, but I do not see the sense behind, as there are not more details to say, than are given here. Just like ppgpilot I want bbPress to look like “original”, without the specifc Enfold CSS for it. That’s it.

    And the concrete question is – why does the code provided by Yigit, as shown here, not work? In a new thread we would not see this code anymore.

    Best,
    Klaus

    #843049

    Hi Klaus,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look? The code is still valid and should work.

    Best regards,
    Victoria

    #843251

    Hi Victoria,

    no, I figured it out by myself. The code is wrong, instead of

    add_action( 'wp_print_scripts', 'wp_change_bbcss', 100 );
    it has to be
    add_action( 'wp_print_styles', 'wp_change_bbcss', 100 );

    then it works.

    Still far away from original bbPress optics though, so maybe we have to check a different theme for the forum, or invest a lot in CSS.

    Thanks anyway.
    Klaus

    • This reply was modified 7 years, 3 months ago by KlausW.
    #844143

    Hi Klaus,

    Glad that you figured it out and thanks for sharing. Thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Can I put everything BBpress back’ is closed to new replies.