WordPress.org

Ideas

Provide a theme 'style.css' override

  1. ariejan
    Member

    Some themes already feature a separate options page and some of those allow you to enter custom CSS that will override the styles defined in style.css

    Why is that great? You can easily change the look of a theme without having to change the style.css itself. When you upgrade the theme, your changes are kept and you don't have to tweak style.css all over again.

    It'd be great if WordPress would have such a feature. Just a box that allows you to add custom css that is included after the theme css.

    Posted: 7 years ago #
  2. kylegetson
    Member

    I think there are plugins for this. If not, let me know and I can build one real quick. If your looking to simply have a section of styles consistently on your site, regardless of the theme selected, this wouldn't be too hard to build.

    Posted: 7 years ago #
  3. syntaxTerr0r
    Member

    This plugin mimic the Mashable functionality where news stories and interesting articles can be shared to social networking sites. Languages availabl

    NEW : Choose your social networks !!

    This plugin mimic the Mashable functionality where news stories and interesting articles can be shared to social networking sites. The functionality is driven by the images accompanying the articles, you click and hold on an image and can then drag it into a toolbar to share it. It's brilliant and intuitive! This plugin was bring to you by Milky Interactive.

    More to come : Customize with themes !

    Languages : english, italian, french

    Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

    1. wp-dragtoshare-extended screenshot 1

      The plugin in action

    2. wp-dragtoshare-extended screenshot 2

      The admin panel

    1.13

    • Socials Networks choices added to admin Panel, choose from Facebook, Twitter, Delicious, Digg, LinkedIn, MySpace, Reddit, StumbleUpon or Technorati !!
    • New icons for socials networks
    • Open sharing link in new window/tabs

    1.12

    • Sanitizing html entities from posts titles
    • Improving javascript compatibility with other framerworks than jQuery
    • Tooltips fade-in speed improved

    1.11

    • Various fixes to enhance PHP4 compatibility

    1.1

    • Optimised & compressed Javascript
    • Compressed CSS

    1.09

    • Fixed issue on Safari browser.

    1.08

    • Choose between automatic mode or manual mode (All images draggables versus chosen ones). Manual mode works with [dtse] shortcode. Please report to the plugin admin panel.

    1.07

    1.06

    • Adding permalink sharing option. (In posts lists, the post permalink is shared instead of current URL)
    • Italian translation added (courtesy of Stefan @ http://www.stefandes.com)

    1.05

    • Minor fixe on positioning.

    1.04

    • Adding sharing icons vertical positioning selection in plugin admin.
    • French translation updated.

    1.03

    • Minor fixes in backoffice : escaping and stripping HTML tags from strings submitted by users
    • Major fix on lib include paths
    • French translation updated.

    1.02

    • Handling lib include paths

    1.01

    • Minor fixes

    1.0

    • First release

    Special Thanks

    Special Thanks to Nettuts+ for their amazing article : http://net.tutsplus.com/tutorials/javascript-ajax/drag-to-share/ Special Thanks to Tydlinka for her icon set : http://tydlinka.deviantart.com/art/Set-of-social-icons-109435724

    Posted: 7 years ago #
  4. Mark / t31os
    Member

    12345

    Maybe a comprimise would be in asking that theme authors start adding filter hooks so you switch stylesheet, as appose to performing an override..

    Something as simple as..

    <link rel="stylesheet" href="<?php apply_filters( 'active_theme_stylesheet' , get_bloginfo('stylesheet_url') ); ?>" type="text/css" media="screen" />

    Which would then give you the opportunity to use the filter hook active_theme_stylesheet to override the path to the default stylesheet.

    It's an untested theory, but i think that would work. At least this way you're taking the default stylesheet out of the equation, not needlessly loading it, only to load a futher one that overrides everything in the first.

    Posted: 6 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    5 Votes
  • Status

    This idea has been implemented