How to change text size on category pages

I am trying to change the font size on all pages/posts on the site I'm managing for my employer. I know how to change the font size in "posts" but how do I change font size in "category" pages? I have tried looking into appearance editor to change the font size. I looked online at different codes to insert but it is unclear where to place the code or what follow on steps must be done. This is one of …
Category: Web

Button doesn't work in the profile panel

Can anybody help me out? Currently, I'm having trouble with the Set New Password button in the Profile section of the admin panel. The button is not responsive and nothing happens when clicking. I'm not sure though, but my wide guess is it has occurred after using some caching plugins like combine CSS/JS and inline stuff for site loading speed optimization. I deactivated all and re-tried it though, it's still the same. Plus, the Update button at the top of …
Category: Web

ACF Gut block broke wordpress default style?

When I add a new custom ACF gut block, he broke the default WP style: After adding a custom block: Example of ACF block: acf_register_block_type(array( 'name' => 'rte-module', 'title' => __('RTE Module'), 'description' => __('A custom RTE module block.'), 'render_template' => 'template-parts/blocks/rte-module.php', 'category' => 'rte-module', 'icon' => 'admin-comments', 'keywords' => array( 'rte', 'module', 'text' ), 'mode' => 'edit', 'supports' => array('mode' => false), 'example' => array( 'attributes' => array( 'mode' => 'preview', 'data' => ['is_example' => true] ) ) ));
Category: Web

Load in wp admin assets from child theme

I started to create a child theme from a BoldThemes theme with custom icons. I am able to see icons when edit directly page, but when try to edit page from wp admin, I've this issue I discovered with DevTools when I try to edit page from wp admin, system don't load assets from child but only from original theme This is my functions.php <?php function my_theme_enqueue_styles() { $parent_style = 'parent-style'; wp_enqueue_style( $parent_style, get_parent_theme_file_uri( 'style.css' ) ); wp_enqueue_style( 'child-style', get_theme_file_uri( …
Category: Web

make admin.css in my child theme

i want hide elements of admin with css file "my-admin.css" I put css file "my-admin.css" at the root of my child theme wordpress and use this code in functions.php but does not work? there may be an error? thank you ! : <?php /* activation theme */ function wpm_enqueue_styles(){ wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'wpm_enqueue_styles' ); /* admin stylesheet */ function wp245372_admin_enqueue_scripts() { wp_enqueue_style( 'my-admin-css', get_template_directory_uri() . '/my-admin.css' ); } add_action( 'admin_enqueue_scripts', 'wp245372_admin_enqueue_scripts' );
Category: Web

hide elements of admin with css file

i use woocommerce and woocommerce Product Vendors (https://woocommerce.com/products/product-vendors/) i want hide elements of admin with css file "my-admin.css" I put css file "my-admin.css" at the root of my child theme wordpress and use this code in functions.php. This does not work?!? function admin_css() { $admin_handle = 'admin_css'; $admin_stylesheet = get_template_directory_uri() . 'my-admin.css'; wp_enqueue_style($admin_handle, $admin_stylesheet); } add_action('admin_print_styles', 'admin_css', 11); is this an obselete method? because: when i use this other method in functions.php, it's ok it works add_action('admin_head', 'my_custom_fonts'); function my_custom_fonts() …
Category: Web

How to add custom css to login and admin?

I have custom CSS for the login and admin pages. Is it OK to add it as I've done below, or is there a better alternative? function custom_admin_css() { wp_enqueue_style( 'custom_admin_css', get_template_directory_uri() . '/css/admin.css', array(), filemtime( get_template_directory() . '/css/admin.css' ) ); } add_action( 'login_enqueue_scripts', 'custom_admin_css', 10 ); add_action( 'admin_enqueue_scripts', 'custom_admin_css', 10 );
Category: Web

Wordpress Sudden Loss of All CSS And Tons of JQuery Errors

All of a sudden all the css on the wp-admin page of a Wordpress Site that I'm providing some maintenance for dropped out. It really came out of nowhere. I'm not sure what caused it. I took some pics of errors that appeared in the console. Here is a pic of the source code for that first error "wp-admin:53:1" The error is on a script tag so I'm assuming it's just not able to find something that it's importing... Idk... …
Category: Web

How can I add a stylesheet to the Classic Editor page?

I want to make some style changes to the Classic Editor page itself -- not the place where you write the text of the post, but the main part of the page (such as the Categories block -- maybe I want to reposition it on the page, or change its color, or something). This isn't a job for add-editor-style(), and the editor page isn't part of my theme, so it doesn't go there. Any tips on where I can do …
Category: Web

No CSS being loaded on backend

I have a WordPress installation on AWS and I was facing an issue that authors are not able to submit content like media in one go and a time-out error occurs. After refreshing the page 5-6 times authors are able to upload content again. To mitigate this issue, I deactivated all the plugins and upgraded to WordPress 4.0 from the back-end, which also raised a problem and I had to rerun the update manually. So I downloaded the latest WordPress …
Category: Web

How to change the WordPress Plugin Watson Assistant Chatbot BOX Size?

How to change the Wordpress Plugin Watson Assistant Chatbot BOX Size? The CSS code below changes the height from below to top but not from top to below. I want to decrease the chatbot BOX size from top to below but I am not able to do it. The Code is written in adittional css part of wordpress . @media (min-width: 640px) { #watson-float { top: 0; right: 0 !important; } #watson-box { width: 35vw !important; height: 95vh !important; } …
Category: Web

dynamic css file for admin / backend and get_option results in Uncaught Error: Call to undefined function get_option()

I try to style the admin area with a dynamic css. I need to configure some elements regarding the frontend user defines. He can choose a color and this color should reflected in some elements in the admin area (e.g. buttons in admin area). My approach: Setting up a evacolor.css, but let apache interpret this as a php file. This works so fare: .htaccess in the same dir, as my color.css: <FilesMatch "\.css$"> SetHandler application/x-httpd-php Header set Content-type "text/css" </FilesMatch> …
Category: Web

Stop custom Gutenberg styles taking over other admin bits?

Is there any classes or way of targeting CSS so custom Gutenberg styles doesn't take over the whole admin? For example i want p tag to reflect the front of site font-family and a links etc, but then it adds that font to all text in the admin and makes for example the add image text button bold and other changes. There seems to be endless classes within the editor, i only want custom styles to appear within the content, …
Category: Web

Notice-Updated div moving around unprompted

I have a div.notice.updated that is moving on the DOM and I can't locate the code that's doing that. Disabled all plugins and changed to a default theme without results. I'm printing the element on the main content block and it jumps to the sidebar after the page finishes loading (it's clearly jQuery in action): <div class="notice updated">Form sent</div> I'm using Frank Bueltge's Admin Style plugin to get standard WP HTML code for the backend.
Category: Web

editor-style.css Functionality

Scenario: I have a client who has difficulty understanding that the font styling he sees in the WordPress dashboard for his posts is not necessarily the styling that will show on the front site. Overuse of the TinyMCE plugin, has resulted in every text block tag having a span inside it, as he attempts to make the editor match what is already happening on the front side because of a child theme. The text formatting is not uniform on the …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.