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 …
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 …
I need to use Bootstrap CSS for better UI in wp-admin but if I enqueue the bootstrap.css, it's affecting the admin default UI by changing background colors, etc. How can I use bootstrap.css inside wp-admin?
Using style_loader_src hook to remove the version query works just fine, but on /wp-admin/upgrade.php the version queries won't go away. Is there a way to also remove the versions strings from the /wp-admin/upgrade.php page?
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( …
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' );
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() …
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 );
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... …
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 …
I wanted to include some CSS rules inside of my gutenberg editor (in a way that it better reflected the frontend of the website). Yet I absolutely didn't want to see the same styles applied inside of any Tinymce instance across the backend. I found a simple CSS solution, and I would like to share!
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 …
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; } …
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> …
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, …
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.
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 …