Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

css

Best way to overide plugin CSS?

August 5, 2022August 4, 2022 by Magenaut

Currently, I use CSS specificity to override plugin styles. I prefer this for editing the plugin as it makes less headaches when you update.

Categories Q&A, Wordpress Tags css, plugins Leave a comment

Restricting a Plugin to Only Load its CSS and JS on Selected Pages?

August 4, 2022August 3, 2022 by Magenaut

I’d like to cause a plugin to restrict its loading of CSS stylesheets and JavaScript JS files to only those pages for which they are needed.

Categories Q&A, Wordpress Tags css, performance, plugins, server, server-load Leave a comment

Versioning @import of parent theme’s style.css

August 4, 2022August 3, 2022 by Magenaut

Update my child theme every time the parent theme is updated to change a version string in style.css (e.g. @import url('../twentythirteen/style.css?ver=NEW_VERSION');). This creates an unnecessary and annoying link between parent theme version and child.

Categories Q&A, Wordpress Tags cache, child-theme, css, parent-theme Leave a comment

TinyMCE: adding CSS to format dropdown

August 4, 2022August 3, 2022 by Magenaut

I successfully added a TinyMCE stylesheet using add_editor_style() so that I can preview the styles in the body of the TinyMCE editor.

Categories Q&A, Wordpress Tags css, tinymce Leave a comment

How can I get a list of all enqueued scripts and styles?

August 4, 2022August 3, 2022 by Magenaut

I’m creating a plugin and I want to get the list of all scripts and CSS used by other plugins.

Categories Q&A, Wordpress Tags css, scripts, wp-enqueue-script, wp-enqueue-style Leave a comment

How to add a custom CSS class to core blocks in Gutenberg editor?

August 4, 2022August 3, 2022 by Magenaut

I’m trying to add a class to list blocks (core/list) in Gutenberg. Unfortunately, it looks like because some blocks like lists and paragraphs don’t have the standard default class name of wp-block-{name} they can’t be renamed using the blocks.getBlockDefaultClassName filter.

Categories Q&A, Wordpress Tags block-editor, css, filters, javascript Leave a comment

Enqueue Stylesheets After Theme’s “rtl.css”

August 4, 2022August 3, 2022 by Magenaut

I am currently developing a theme with internationalization support, and would like to load stylesheets after my theme’s rtl.css (an alternative style.css loaded for languages with a right-to-left reading order).

Categories Q&A, Wordpress Tags css, localization, theme-development Leave a comment

Remove top admin bar

August 4, 2022August 3, 2022 by Magenaut

whenever admin or any other user logs in a top bar menu ads up. Now I made login for everybody, so I do not want this bar.

Categories Q&A, Wordpress Tags admin-bar, css Leave a comment

Enqueue a stylesheet for login page and make it appear in head element

August 4, 2022August 3, 2022 by Magenaut

I try to style the login page in my theme. Very simple:

Categories Q&A, Wordpress Tags css, login, theme-development, wp-enqueue-style Leave a comment

WordPress Admin Bar Overlapping Twitter Bootstrap Navigation

August 4, 2022August 3, 2022 by Magenaut

Themes have a template tag for the body tag which will help theme
authors to style more effectively with CSS. The Template Tag is called
body_class. This function gives the body element different classes and
can be added, typically, in the header.php‘s HTML body tag.

Categories Q&A, Wordpress Tags admin-bar, css, html, navigation, twitter-bootstrap Leave a comment
Older posts
Newer posts
← Previous Page1 … Page18 Page19 Page20 … Page23 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress