• Resolved spinhead

    (@spinhead)


    First, thanks for creating the plugin. I’ve gone through 5 other quote plugins and all have either fatal flaws, unresponsive developers, or both.

    I like having greater control over how the quotes are displayed. In some places you hard code the styling, for instance, the source has both “smaller” and “em” tags surrounding it. It would be easier to style the widget if the source were simply wrapped in a div or span named “widget-source” or whatever.

    I would also love to see all the CSS in a single place, so that at least if I modify it and then update the plugin I only have one file to check and update instead of bits and bobs all over the plugin.

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author oooorgle

    (@oooorgle)

    You are correct! It would be better to have the ‘source’ formatting in a class rather than inline. I will get those worked into the next release.

    I separated the css to improve page-load since only portions are used depending on the page. Unfortunately any changes you make will be overwritten on updating. I recommend backing up those files you make changes to. As far as me changing styling to the plugin itself, the change-log should mention whenever I do. Checking that should let you know if you need to just copy your backup back or update it first. There really is no slick solution to tweaking a plugin and having it update without breaking those changes.

    Let me know what you think and I’ll update this log when I get caught up. Thanks!

    Thread Starter spinhead

    (@spinhead)

    Understood. I hadn’t considered selectively choosing style sheets as needed.

    As long as I can access each element by id or class, I can cope with whatever else happens. The way I work, I might want a whole new style by the time you update the styles, so I’m fine with sorting that out myself.

    Really appreciate your prompt response. Looking forward to your updates.

    Plugin Author oooorgle

    (@oooorgle)

    You are very welcome! If you feel so inclined, I certainly consider suggestions for improvements. Ideas or even examples are certainly welcome.

    Thread Starter spinhead

    (@spinhead)

    As I play with it I’ll make a list. I did database work for 15 years before starting my web company in 1999 so I always have a long wish list for the tools I use. Glad to have someone who’s responsive.

    Plugin Author oooorgle

    (@oooorgle)

    Updated to 0.6.5. It looks like the only inline styling left on the front-end were those source fields. Depending on how you are calling the plugin ***(page, widget, gallery) you will find a ‘quotes-llama-***-source’ styling element in the respective .css file. If you happen to notice anything funky with these changes, let me know. I really appreciate everyone’s suggestions!

    Thread Starter spinhead

    (@spinhead)

    Updated, adjusted a little CSS in my own theme, not the plugin, and all is well. As long as those elements are always named as they are now, I won’t even have to fix anything if the plugin is updated.

    Nicely done! Thanks very much.

    spinhead — could you possibly tell me how you adjust font family and font size for quotes in widgets? I can’t make sense of the css files which seem to refer to only the “more” tag. Thanks.

    Plugin Author oooorgle

    (@oooorgle)

    Hi Greenery, I would suggest adding the changes into your themes style.css file. It will overwrite the plugin declarations and retain the changes whenever the plugin is updated. For example these should adjust the sizes for the widgets quote, author and source fields.

    .quotes-llama-widget-random {
    	font-size: 1.2em;
    	font-family: crusoe;
    }
    .quotes-llama-widget-source {
    	font-size: 1.2em;
    	font-family: crusoe;
    }
    .quotes-llama-widget-author {
    	font-size: 1.2em;
    	font-family: crusoe;
    }

    Let me know how it works out for you? Thanks!

    Thank you, ooorgle. I had tried that, without success. But your suggestion does work.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘would like better access to elements for CSS styling’ is closed to new replies.