Search Results for 'forum css/'
-
Search Results
-
bbPress Version 2.6.5 <
WordPress 5.4.2
Among other instructions I used bbPress Styling Crib (https://codex.bbpress.org/bbpress-styling-crib/). I copied bbpress.css into the wp-content/themes/%your-theme%/css/ folder as directed in the Step by step guide to setting up a bbPress forum โ part 2 (https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-2/).
The bottom line is that I changed every “font-size:” tag in bbpress.css (and there are 40) trying to have SOME effect. Nothing.
The tiny text makes the forum unusable. Changing the font size, from much of what I’ve read, is simple.
What am I doing wrong???
Thanks in advance
Hey so I’m trying to enqueue custom CSS for bbPress v2.6.4 on the WP 5.4.1 clan website running a WP Twenty Twenty-child theme.
This is what my functions.php currently looks like
<?php /** * Child theme stylesheet einbinden in Abhรคngigkeit vom Original-Stylesheet */ add_action( 'wp_enqueue_scripts', 'child_theme_styles' ); function child_theme_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-theme-css', get_stylesheet_directory_uri() .'/style.css' , array('parent-style')); wp_enqueue_style( 'child-theme-css', get_stylesheet_directory_uri() .'/css/bbpress.css', array()); } ?>
And this is how my bbpress.css looks like.
#bbp-forum-info, #bbp-forum-topic-count, #bbp-forum-reply-count, #bbp-forum-freshness { color: #232323; } #bbpress-forums { background: transparent; clear: both; margin-bottom: 20px; overflow: hidden; font-size: 1.75rem; color: #232323; }
The changes I applied in the bbpress.css won’t update the bbpress CSS on the above mentioned site. So their must be something wrong with my functions.php but I can’t yet put my finger on it how to load it properly as I’m pretty new when it comes to WordPress. I wanna append these changes globally to all parts of bbPress forum.
Can someone tell me to if and what i need to specify inside the arrray() call for the bbpress.css to load properly? Or hint me towards what’s wrong here.
Topic: CSS styling query
Hi
I have some queries and I wonder if you can help me get to the bottom of them. I would be grateful for your guidance. Here is the background.
I am using the latest bbPress plugin and I notice that the bbpress.css file is 1702 lines long.
I am using a premium theme (seos-video-premium) and even though I am using a child theme, I have noticed that my Support forum is actually using:
wp-content/themes/seos-video-premium/seos-video-premium/css/bbpress.css
I assume this is because there is no bbpress.css in my child theme css folder so it uses the themes one instead of the bbPress plugin’s one?
So I have two specific questions here.
1/ the bbpress.css file in the premium theme folder is actually 1408 lines of code. So it is 300+ lines shorter than the plugin version. To be honest, I was not expecting to find a bbpress.css file inside the theme. So what am I supposed to do? Simply replace the theme version with your plugin version?
2/ I have been trying to use a beta version of EnlighterJS Plugin (it is their beta that uses EnlighterJS v3. There was an issue with these styles:
#bbpress-forums div.bbp-topic-content pre, #bbpress-forums div.bbp-reply-content pre { display: block; line-height: 18px; margin: 0 0 24px; padding: 5px 10px; white-space: pre; overflow: auto; }
In their classes they have this styling:
.enlighter-default .enlighter-raw { display: none; min-width: 100%; line-height: inherit; font-size: 12px; font-family: inherit; margin: 0; padding: 0; white-space: pre-wrap; word-wrap: break-word; border: none; box-shadow: none; }
The HTML is:
<pre class="enlighter-raw">.textMaterial { /* Uncomment to hide the material */ /* display:none;*/ font-size: 10pt; font-style: italic; font-weight: 700; background-color: yellow; } .textMethod { /* Uncomment to hide the method */ /* display:none;*/ font-size: 10pt; font-style: italic; font-weight: 700; background-color: cyan; }</pre>
Notice that ttheir CSS style uses
display: none;
? The bbpress CSS filepre
class has adisplay:block;
. This causes a problem with the plugin I am trying to use.The author does not want to use
!important
because he says it is bad design. So how do we fix this? How can we allow bbpress to do what it wants withpre
and EnlighterJS do what it wants?I noticed once I got my 2.6.1 working that all the font size is tiny, when I made my theme I used some custom css to re-size the font way before I moved to 2.6.1, I also found this thread
But no replies, did custom css/themes change?
The default font size if for ants.
Hi Guys
I tried updating from 2.5.14 to 2.6.1 and after the update my forum was no longer loading my custom css file that lives in /wp-content/themes/theme_child/css/bbpress.css and the forum lost all my custom styling.
Any idea why it appears to be ignoring that css file now?
Hello,
I have problem. I have on website bbPress with demo data but when i chose some forum or some subpage it’s blank. https://gamenice.sk/forum/
functions.php
<?php show_admin_bar(false); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); function theme_enqueue_scripts() { $template_directory_uri = get_template_directory_uri(); wp_enqueue_style( 'reset', $template_directory_uri . '/assets/css/reset.min.css', false, '1.0' ); wp_enqueue_style( 'app', $template_directory_uri . '/assets/css/app.min.css?v=' . time(), array( 'reset' ), '1.0' ); wp_enqueue_style( 'forum', $template_directory_uri . '/assets/css/forum.min.css?v=' . time(), array( 'app' ), '1.0' ); wp_enqueue_script( 'html5shiv', $template_directory_uri . '/assets/js/html5shiv.min.js' ); wp_script_add_data( 'html5shiv', 'conditional', 'lt IE 9' ); wp_enqueue_script( 'selectivizr', $template_directory_uri . '/assets/js/selectivizr.min.js' ); wp_script_add_data( 'selectivizr', 'conditional', 'lt IE 9' ); wp_enqueue_script( 'jquery', $template_directory_uri . '/assets/js/jquery.min.js', false, '3.3.1' ); wp_enqueue_script( 'app', $template_directory_uri . '/assets/js/app.js', array( 'jquery' ), '1.0' ); wp_localize_script( 'app', 'carouselSettings', array( 'timeout' => get_option('carousel_timeout').'000' ) ); } add_action( 'wp_enqueue_scripts', 'theme_enqueue_scripts' ); function get_excerpt($where = ''){ $excerpt = get_the_content(); $excerpt = strip_shortcodes($excerpt); $excerpt = strip_tags($excerpt); switch ($where) { case 'carousel': if ( wp_is_mobile() ) $excerpt = substr($excerpt, 0, 120); else $excerpt = substr($excerpt, 0, 250); break; case 'head': $excerpt = substr($excerpt, 0, 200); break; default: if ( wp_is_mobile() ) $excerpt = substr($excerpt, 0, 300); else $excerpt = substr($excerpt, 0, 725); break; } $excerpt = substr($excerpt, 0, strripos($excerpt, " ")); $excerpt = $excerpt.'...'; return $excerpt; } function get_thumbnail_url() { $thumbnail = get_the_post_thumbnail_url() != '' ? get_the_post_thumbnail_url() : get_template_directory_uri() . '/assets/img/og-image.png'; return $thumbnail; } function themename_custom_logo_setup() { $defaults = array( 'height' => 111, 'width' => 220, 'flex-height' => true, 'flex-width' => true, ); add_theme_support( 'custom-logo', $defaults ); } add_action( 'after_setup_theme', 'themename_custom_logo_setup' ); add_theme_support( 'post-thumbnails' ); function register_my_menus() { register_nav_menus( array( 'header-menu' => __( 'Header Menu' ), 'footer-menu' => __( 'Footer Menu' ) ) ); } add_action( 'init', 'register_my_menus' ); function show_menu($menu_name) { $defaults = array( 'theme_location' => '', 'menu' => $menu_name, 'container' => '', 'container_class' => '', 'container_id' => '', 'menu_class' => $menu_name, 'menu_id' => '', 'echo' => true, 'fallback_cb' => 'wp_page_menu', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'items_wrap' => '<ul class="inline-list %2$s">%3$s</ul>', 'depth' => 0, 'walker' => '' ); wp_nav_menu($defaults); } include 'inc/theme-settings.php';
forum.php
<?php include 'header.php'; ?> <section class="forum-wrapper"> <div class="container"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php the_content(); ?> <?php endwhile; endif; ?> </div> </section> <?php include 'footer.php'; ?>
Topic: Change user color
Hello BBPRESS community,
I really want to change color of my usergroups in my forum made by bbpress.
I have the standard role (keymaster, moderator, blocked ecc) but with names modified by editing the file functions.php in my theme folder.Now I would like to change the color in the status bar and in the topic/threads, example Administrator in the red, moderators in blue ecc.
I tried a insert this code in bbpress/templates/default/css/bbpress.css:.bbp-author-role-keymaster { background:blue; color:white; padding:0 5px; }
but it does not change anything, why?
I want to change color here
and in threads/topic discussion.
How I do?
Thank you very much.Hi my site is rightfootflat.com and basically in my forum once you register for an account you get sent to the admin login for WordPress and I would like it to redirect to the forum front page. I filezilla sftp but I am not very knowledgeable with css/HTML any help would be great thanks ๐
Hi folks,
I am running WordPress 4.5.2 with the following plugins:
** PLUGIN INFORMATION **
Active Plugins: (21)
– Activity Log 2.2.12
– Basic User Avatars 1.0.3
– bbP private groups 3.2.0
– bbPress 2.5.9
– bbPress Advanced Statistics 1.3.13
– bbPress Pencil Unread 1.0.9
– bbP Toolkit 1.0.6
– Blizzard Quotes 1.3
– BlizzBlueWidget 4.0
– Coming Soon Page & Maintenance Mode by SeedProd 5.0.2
– Login With Ajax 3.1.6
– Pollka polls 2.0
– WordPress System Report 1.0.1
– World of Warcraft Recruitment Widget 1.1.5
– WoW Guild Armory Roster 0.4.3
– WoWHead Tips 3.0.1
– WoW Progress 1.5.1
– WP-Mail-SMTP 0.9.5
– WPFront User Role Editor 2.12.4
– WP reCaptcha Integration 1.1.10
– WYSIWYG Widgets / Widget Blocks 2.3.5The theme used is Legion Zero.
In my bbpress forum when i want to reply to a message you get the editor just like on this forum. I hit the link button:
And i am faced with a white popup background and white-ish text which is too hard to read as shown below:
I am unable to find which CSS this is causing so i can change it. I can only find the background of the bit where it says “Insert/edit link” and this is in wp-includes/css/editor.min.css and exact value is #link-modal-title which is set to #fcfcfc.
The part below it, i cannot find.
Can anyone assist me?
Cheers :)!
Hello,
I’m pretty new to wordpress+bbpress (been working with it for a few days now). In the past I have used other forum boards, but since I’m using wordpress now I figured while the hell not try out bbpress ?
So far I like it, I’m still working things out but I managed to do what i wanted using google when I was hitting a wall.Now, what i’d like to do is change bbpress layout from this :
to something like this :
Even with some research I don’t know what/how to modify this. I have read the “Layout and functionality โ Examples you can use” in the codex (and actually used one to get the forum list to be block instead of inline) but it doesn’t mention this kind of modification.
My html/css/php knowledge is really basic, and obviously not enough to do this on my own.
If someone could point me in the right direction I’d gladly appreciate it. Thanks !
Wordpress version : 4.4
bbpress version : 2.5.8-5815
theme used : vantageTopic: How to change the font size?
My forum is this
http://asiahairtalk.com/forums/topic/anyone-here-has-started-any-new-treatment/
And i have tried to edit the font size at /plugins/bbpress/templates/default/css/bbpress.css
but i dont see the font changes at all.
I am trying very hard to edit:
1) reply font size
2) Author name’s font size
3) Avatar size
4) alternate post background colourThanks guys for helping.
Hi.
I am trying to improve the look and feel of my forum but without success ๐
Here’s what my topics currently look like:
http://www.authentic-jerusalem-tours.com/forums/topic/good-places-eat-saturday-jerusaelm/What i want to achieve is:
1. Have the title displayed within the topic frame (not just in the page title bar)
2. Align the topic text with the author box on the left so it appears next to it rather than bellow it.I’m not great at CSS/PHP so precise instructions would be very appreciated.
Thanks