Questions tagged [admin-css]

WordPress' flexible nature allows for almost every part of it to be easily changed. Creating a custom WordPress Admin Panel Theme is no different. There are essentially two ways of making a WordPress Admin theme: with a Plugin or by simply changing the CSS.

29 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
2 answers
2k views

What is better way to use Bootstrap inside admin panel?

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-...
Bhavesh Nariya's user avatar
1 vote
0 answers
49 views

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 ...
salsan's user avatar
  • 121
1 vote
0 answers
52 views

Is it possible to switch Gutenberg's editor styles when document settings change?

I want to show different editor styles based on one of the post's value in the core/editor store. Let's say, for example, that I've got a setting like, picture_frame in my post meta, that adds gimicky ...
Josiah Sprague's user avatar
1 vote
1 answer
432 views

Wordpress Dashboard is loaded without css

Just got a new update from WordPress and installed update from dashboard successfully. Everything was ok after refreshing the page I got dashboard without CSS. Tried googling and found some solutions ...
Chetan Upare's user avatar
1 vote
0 answers
278 views

Admin pages missing css

suddently my admin page lost his css I think.. It looks like this: I've read some topics with similar problems and I've already tried to: - clearing browser cache and changing browsers - reinstall ...
JollySL's user avatar
  • 11
1 vote
1 answer
183 views

How to apply a CSS file to my admin pages?

I have created a simple CSS file and I would like to apply it to one of my admin pages--specifically the 'edit post' page. I have tried two methods (described below), but both are failing--the CSS ...
cag8f's user avatar
  • 1,837
1 vote
1 answer
231 views

Why is server preventing admin styles? (Was: Where are WordPress sessions saved?)

[Note: I'm keeping the following opening paragraph here for posterity, but this is no longer a session issue - something wrong on the server is preventing CSS from displaying.] I asked this question ...
OsakaWebbie's user avatar
1 vote
0 answers
41 views

Admin style for just one plugin in dashboard

I'm working on a site with many plugins, two of which are closely related, function-wise, but made by 2 different developers. Is it possible to style the text from one plugin on the admin end, so ...
Torque2's user avatar
  • 41
1 vote
0 answers
839 views

How to enable table overflow scroll? (especially order list table)

Above in image the order list table not able to scroll horizontally and also breaking the words . I want to make scroll . Help me how to do this ?
user2007245's user avatar
1 vote
3 answers
12k views

How to disable the hover effect in Wordpress and Elementor?

Hi all! I created a products section via Elementor in Wordpress. The thing is, that I do not know, how to disable the hover effect.
Vicky99's user avatar
  • 11
0 votes
0 answers
28 views

Custom customizer CSS priority

function themename_customizer_styles() { wp_enqueue_style( 'themename-customizer-css', get_template_directory_uri() . '/css/themename-customizer.css' ); } add_action( '...
WordCent's user avatar
  • 1,827
0 votes
0 answers
45 views

CSS Styles specific to Admin Sidebar not loading

I have several sites where I have loaded a custom stylesheet for the Admin. They work fine in both the TinyMCE editor and the sidebars. I have one site where the custom stylesheet targets the TinyMCE ...
jchwebdev's user avatar
  • 765
0 votes
0 answers
46 views

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 ...
ChristianOConnor's user avatar
0 votes
0 answers
123 views

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 ...
Jim Miller's user avatar
0 votes
1 answer
49 views

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 ...
Aymal's user avatar
  • 101
0 votes
0 answers
143 views

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 ...
user4630's user avatar
  • 245
0 votes
0 answers
238 views

Twenty-seventy theme remove additional CSS from head

Is it possible that additional CSS that we add in customizer section, display somewhere else instead of head? I am using twenty-seventy theme. I know its fetch and rendering code is available in wp-...
fzaman's user avatar
  • 1
0 votes
0 answers
213 views

Run function for specific user only

I've created following function to run a stylesheet for the admin area, but I want to runt it only for 'shop_manager' this user role and for others, it should not make any modifications from that ...
pratik asabe's user avatar
0 votes
1 answer
130 views

WordPress Customizer Additional CSS - line numbers overlaps CSS code

On one of my sites the Additional CSS in customizer is difficult to work with because the left margins are hiding the left side of the CSS code window behind the line numbers. I tried adding some ...
user1388610's user avatar
0 votes
0 answers
29 views

Lines of CSS only being delivered while logged in

I am working on a clients site and I noticed a few lines of CSS are only being delivered while logged in to the WP Dashboard. Any idea what might cause this discrepancy?
bentaylor's user avatar
0 votes
0 answers
144 views

When admin is logged in, admin-bar-rtl.min.css is not loaded on website view (the admin-bar is shown in the footer without CSS)

When admin is logged in, the admin-bar on website view is shown in the footer without CSS. I checked the source against other websites & it seems like admin-bar-rtl.min.css is not loaded on my ...
Pini's user avatar
  • 101
0 votes
1 answer
989 views

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 ...
Chrystal Schlenker's user avatar
0 votes
1 answer
417 views

Style Radio Buttons inside Edit Page (Custom Fields)

I created styles for custom field, that is a radio button. The style affects every .inside ul.acf-radio-list.radio.horizontal li label but I want the style to work only on the Edit Post ...
mi-ho's user avatar
  • 1
0 votes
0 answers
1k views

wp_is_mobile() inside js

I've stumbled upon a issue that i can't fix. I've implemented a autocollapse menu ..all works fine UNTILL i go to mobile version where the wp core's menu bugs out with my menu js code. Basicly i ...
andreiudeiu's user avatar
0 votes
0 answers
163 views

Simple CSS admin pagination

First of all thanks for your time :). I have a dropdown menu option for the admin menu..but the pages still render at the menu edge. Any css trick to position pages correctly? Thanks in advance.
andreiudeiu's user avatar
0 votes
2 answers
204 views

Adding custom css to a theme depending on whether the admin user is logged in or not

Is it possible to add custom css to a stylesheet in a theme depending on whether the user is logged in or not? When I log in, the theme navigation and when viewing the main site bar is hidden behind ...
Jonathan Beech's user avatar
0 votes
0 answers
136 views

Change Login CSS - Include instead of echo

I'm trying to figure out how to include a stylesheet instead of echo'ing <style> tags. I'm currently using the following function: // Custom Login Styles function login_styles() { echo '&...
Austin Biggs's user avatar
-1 votes
1 answer
28 views

How do I create a custom search function to only show contact information if they search for an exact unique identifier?

I’m hosting a conference in the future and will be collecting several hundred attendee’s names and email addresses when they register on my site. To help with networking and connecting them after the ...
Patmahoney123's user avatar
-1 votes
1 answer
745 views

Where are the Parent themes CSS & PHP files hidden on Wordpress?

I have a friend who has a wordpress website, he wants some help and as I have been coding with html, css, javascript (but with bootstrap) I am helping him out. However, he has a very old version of ...
ck777's user avatar
  • 1