Tagged: bbpress
-
AuthorPosts
-
November 22, 2016 at 7:53 pm #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
-BenNovember 22, 2016 at 8:26 pm #715550Hey 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,
YigitNovember 22, 2016 at 11:52 pm #715663Huzzah thank you – I will try that.
November 23, 2016 at 9:01 am #715778Hi,
Great, we’ll leave the thread open in case you should have any problems.
Best regards,
RikardAugust 22, 2017 at 10:15 pm #842791I’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!
KlausAugust 23, 2017 at 8:47 am #842923August 23, 2017 at 8:57 am #842928I 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,
KlausAugust 23, 2017 at 2:55 pm #843049Hi 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,
VictoriaAugust 23, 2017 at 8:26 pm #843251Hi 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.
August 25, 2017 at 7:39 pm #844143Hi Klaus,
Glad that you figured it out and thanks for sharing. Thanks for using Enfold :)
Best regards,
Nikko -
AuthorPosts
- The topic ‘Can I put everything BBpress back’ is closed to new replies.