All Questions
43 questions
0
votes
0
answers
7
views
Twenty Twenty Four child theme stylesheet is not being enqueued in admin panel when editing pages
I have created a child theme of Twenty Twenty four. I have a styles.css in the child theme directory and I have enqueued the stylesheet to load in the child theme's functions.php:
<?php
/*
* ...
0
votes
0
answers
38
views
unable to find the document body in user-edit admin using javascript or CSS
I am pretty new to using js on wp and I have this pretty tame script that is supposed to find the element and replace it using textContent. I also am using a simple CSS element that has the same ...
0
votes
0
answers
64
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 ...
0
votes
0
answers
58
views
Text editor toolbar z-index conflict with location plugin pop
I am working on project where location plugin is already is installed.When i try to test it after update the wordpress to new version.The editor toolbar on edit page z index is higher then the ...
3
votes
2
answers
2k
views
Changing Gutenberg / WP block editor width only on pages, not posts or other taxonomies
I have managed to change the width of the WordPress block editor so it uses my max width of my actual theme, making it easier to do layouts during the writing process. Now I wanted to change that to ...
6
votes
1
answer
4k
views
How do I create a new WP admin color scheme?
I followed this guide, but idk if it doesnt work for WP 5.0+ or if im doing something wrong.
I added this to my functions.php and the css file is a copy of the Light Scheme.
function ...
0
votes
1
answer
480
views
Add styles to wordpress admin on the Page List
Is it possible to add the page slug as a class to the list of pages in Wordpress admin?
The reason is, I want to make programmatically hide pages in the admin if an option page exist for that page.
...
1
vote
0
answers
1k
views
List All Enqueued Scripts and Styles
Is there any way to list which scripts and styles have been enqueued, while within wp-admin?
For example this code works, but only if you are on the frontend. How could I get the same list while ...
0
votes
1
answer
318
views
Add a unique body class for every admin page (including trash)
How can I add a unique class for WP admin pages (including trash)
ex. URL wp-admin/edit.php?post_status=trash&post_type=locations
2
votes
4
answers
14k
views
When using https, WordPress doesn't use https for CSS and JavaScript, and admin doesn't work. How do I fix this?
Recently I built and LAMP server and installed WordPress on it. I connected it to the web via a reverse ssh tunnel using serveo.net.
I decided to add SSL and the rest of the website seems to work fine,...
0
votes
2
answers
966
views
custom css in admin panel by user id
I'm looking for adding a custom css in the admin panel by targeting user id
cause I have another administrator but I want to hide something from him by css.
I'm using this code to put some stylesheet ...
0
votes
1
answer
37
views
Full list of registered scripts or styles, but from an admin options page
I'm developing a plugin that will allow some CSS optimization. But first of all, i need to get the list of all stylesheets (later i'll do something for scripts too).
Doing this:
function ...
1
vote
1
answer
217
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 ...
0
votes
1
answer
440
views
Wordpress Child theme fails to override parent theme css
I've installed the Faxhion theme for a client, and I've successfully created a child theme. However I'm somehow not able to override the parent themes css.
Similar questions such as this one & ...
0
votes
4
answers
16k
views
CSS not showing up in my website Only HTML Displaying
I am very new to wordpress. I installed it on my linux server lately and uploaded a them on it. Everything looks good on my browser however if I try to access the website outside my network I am only ...
2
votes
1
answer
2k
views
Why are my frontend theme styles bleeding into the backend?
I'm developing a custom theme. For some reason, some of the styles I define globally in the front-end (like certain styles for headings and such) are affecting the back-end.
I am using the WP-LESS ...
0
votes
1
answer
46
views
Why does my edit screen suddenly have such a buggy interface?
I've attached an image link to show how WordPress displays my Post Edit screen.
Most of the time the Post Edit screen is displayed normally, but sometimes it rendered in this old, buggy way. I'm ...
0
votes
3
answers
7k
views
Admin area is not loading properly
Recently I've locked myself out of my WordPress site by changing the site URL. I fixed that problem by reverting the site URL to the original one in PHPmyadmin database.
But what happens now is that ...
2
votes
1
answer
5k
views
Custom Background-Image not showing up
I have added theme_support for my background-image and its showing up in the admin where I can set it and from there it looks as it should, but if i go to my website outside of the admin the ...
0
votes
3
answers
8k
views
Activating Child Theme Breaks Website, Blank Page, Error 500
UPDATE: Solved! (02/06/17)
Thanks to everyone who helped give insight into this issue!
What Caused the Problem?
The root of the problem turned out to be that I copied the whole parent theme folder ...
1
vote
1
answer
874
views
In editor-style.css how can I change background color of title field?
When editing a page or post, I would like the title field to have a different background color from white. I have tried the following but it doesn't seem to work:
#titlediv #title {
background-...
0
votes
1
answer
442
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 ...
-1
votes
1
answer
806
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 ...
1
vote
1
answer
609
views
how to add custom css and js on wordpress post editor directly without using .php file
I am trying to add some css and js code to my home page editor at the wp-admin.
I am using simply
<script type="text/javascript">
jQuery(document).ready(function($) {
$('.x-feature-box')....
2
votes
1
answer
6k
views
Wordpress wp-admin suddenly lost its style
NB: I originally posted this on SO, but I was recommended to try here - sorry for the duplicate!
I'm really baffled about this. In the last couple of days (since I was using the site last), my ...
2
votes
2
answers
3k
views
Enqueued Stylesheets Effecting Admin Styles
I'm building a custom theme for a client and I've been adding stylesheets incorrectly for a while, so I decided to do it the correct way :-).
However, when I add the stylesheet to my functions.php ...
-1
votes
1
answer
274
views
theme injecting css into wp-admin
Some of the CSS from my theme is being used in wp-admin.
For instance "Add New Page" on /wp-admin/post-new.php?post_type=page is coloured blue, which comes from my theme, as stated by Chrome code ...
0
votes
1
answer
189
views
Styling admin page rows in order of importance (checkboxes)
I am altering a plugin's admin area and adding a checkbox for a "Coming Soon" option. As of now, when the user checks the "Coming Soon" checkbox, the entire row will turn green, but there is also the ...
0
votes
2
answers
1k
views
Questions regarding add_meta_box()
Registered a custom post type (xyz) and after that added a meta box using this excellent Tuts+ tutorial, so then I can reduce the usage of 'Advanced Custom Fields' where I can (but I love ACF most). ...
0
votes
1
answer
143
views
Change height of Add New Post input box
The textarea box on the Add New Post page is too high for my application. I'd like to change it to 260px high. However the style is embedded. What's the best way to change it, without altering the ...
-1
votes
2
answers
5k
views
Removing Author name
I want to remove the author name from every post. O am using a website in wordpress.org. and I'm using tweenty fourteen theme.
How to remove the author name?
Do I have to go to the Author template (...
0
votes
1
answer
272
views
CSS of the admin panel
Where can i get hold of the CSS of the admin panels? Id like to make it look different on my development environment so that no one changes the production server by mistake. Like giving it a different ...
41
votes
3
answers
115k
views
adding custom stylesheet to wp-admin
im having troubles getting my custom stylesheet work on WP-ADMIN area.
plugins_url('style.css', __FILE__) ); do i have to create folder in my plugins named css or do i just copy my .css to the wp-...
0
votes
2
answers
326
views
How to align bold,italic and underline in wp-admin?
When Im in wp-admin and editing a page and whant to make underline, bold and italic it dont appear on the site. I understand therese something i have to define in the css or thru wp-admin ?
NOTE: I ...
3
votes
2
answers
3k
views
Using tabs for wordpress plugin
Done my research and found this is how to call the built-in ui tabs jquery script in wp for the admin area but I'm stuck on implementing the other jquery scripts needed that I believe are built into ...
0
votes
1
answer
314
views
How to activate/deactivate menu tab and keep the same id?
I have a problem here and i cant find/think of any solution yet.
I want to have a menu button that can be activated/deactivated and still keep the same id so the CSS will still be applied.
Is there ...
2
votes
2
answers
493
views
Sub folder CSS that's read by Admin panel
I'm in the process of creating a theme that will have several different setup options based on input from the administrator. One of the options will be to have a Zurb or Basic type layout.
I'm ...
2
votes
1
answer
699
views
Get Stylesheet To Showup in WP Admin Panel Editor
So I have a css file that is called blue.css and a universal one called style.css I have a few css colors inside a /css folder. How do I get all those css files to show up in my Admin panel editor?
56
votes
6
answers
76k
views
What are the standard admin CSS id/class tags?
Is there a list of WordPress CSS id/classes that I can use to build plugin option screens that look and feel more like a normal WordPress option page? I have found some through serendipity but it ...
3
votes
3
answers
630
views
How to wrap admin menus and menu headers in additional divs without modifying the WordPress core?
I need to do this to enable advanced styling options via css, the one a class the headers are wrapped in isn't adequate to do the type of styling needed. Thanks!
1
vote
3
answers
3k
views
Can't edit style.css in subdirectory of my theme?
I want to edit a file style.css but the theme editor shows this:
/* ---------- Reset Tags ----------- */
@import url("css/reset.css");
/* ---------- Reset Tags ----------- */
@import url("css/...
1
vote
1
answer
671
views
Can't call external stylesheet for Wordpress admin (using wp_admin_css)?
I tried the following:
<?php
function my_wp_admin_css() {
echo '<link rel="stylesheet" href="/wp-content/plugins/custom-admin-style/wp-admin.css" type="text/css" />';
}
add_action('...
0
votes
2
answers
5k
views
How do you modify CSS files via admin panel?
All theme styles are in style.css file.
Let's say first line looks like:
body {
background-color: #fff;
}
Now, I've created an option in admin panel named body_bg. User types #000 there and I ...