Giter Club home page Giter Club logo

simple-custom-css's People

Contributors

dannyvankooten avatar johnregan3 avatar thomasdk81 avatar westonruter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

simple-custom-css's Issues

Edit the Comment Text

I just want to suggest an add to the next update. While helping in Wordpress support forums I suggest this plugin, but a lot of newbies get confused with the comment text in the editor area.

What happens is they see /* Enter Your Custom CSS Here */ and then add the code inside the comment section.

Maybe change it to /* Enter Your Custom CSS Under Here */ or something like that.

Thanks.

Wordfence warning on Wordpress 4.9.2

The Plugin "Simple Custom CSS" appears to be abandoned (updated 12/01/2016, tested to WP 4.4.14).
Type: Plugin Abandoned

Details: It was last updated 2 years ago and tested up to WordPress 4.4.14. It may have compatibility problems with the current version of WordPress or unknown security issues.

Serve the CSS in a way that doesn't damage performance

This plugin is great, but unusable on sites where performance is a concern until the CSS is delivered in a way that doesn't bypass caching. In its current form it bypasses the cache (because of the query string in the stylesheet URL), and the whole Wordpress environment has to be loaded in order to return the CSS (because it's being output by plugin PHP code). This combination makes it very problematic for performance.

This could be fixed by writing the CSS out to an actual file. A possibly simpler solution would be to use a WP API endpoint to serve the CSS from a cachable URL without a query string. This would still require PHP and Wordpress to generate the CSS the first time, but at least it could be cached.

Thanks for building a nice simple plugin!

"-characters are escaped in resulting CSS file

When using "-characters, for example in the following expression:

  .side-nav input[type="text"] { .. }

the end result will be:

  .side-nav input[type="text"] { .. }

You should probably do an un-escape when reading the CSS on update.

Support for SSL, serving css over HTTPS

I use wooCommerce on my site and I have just forced HTTPS redirect for the Checkout flow. However, when I do this, my custom CSS is blocked. I get:

Mixed Content: The page at 'https://www.myDomain.co.uk/blog/product/myProduct/' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.myDomain.co.uk/blog/?sccss=1&ver=fe62ddea3ed1898e6866564ccdc86c01'. This request has been blocked; the content must be served over HTTPS.

How can I fix this / work around it?

Make "Save CSS" button Fixed.

The Save CSS button can be hard to locate on the page when the CSS is long. Fix this input so it stays on screen.

Permissions issue with Multisite

I think I've found a permissions issue using WP Multisite.

As the network administrator, I can enable the plugin on individual blogs and use it just fine but when a SITE administrator attempts to use the plugin, it doesn't appear for them under Appearance -> Custom CSS like it does for me.

Maybe this is a permission issue that needs to be extended to site administrators?

Thanks for the great plugin! It works much better (crossbrowser) than a previous plugin we were using.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.