WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
[resolved] [Plugin: Testimonials Widget] Updates (9 posts)

  1. jesshutch
    Member
    Posted 1 year ago #

    Hello,
    This is a great plugin - thanks!

    One problem I've been having - I updated the css to change the width of the lists, made the author line smaller and italicized. Whenever an update is made, it overrides my changes and so I have to copy and paste them back. Is there a way to retain changes to the css without saving and pasting them back in? I just worry that when I hand over the site to the client they will not be able to figure out how to change it back.

    Thank you,
    Jess

    http://wordpress.org/extend/plugins/testimonials-widget/

  2. royald
    Member
    Posted 1 year ago #

    I have the same problem and I guess it's because when I do the plugin update, it removes the previously installed plugin and install a new one. Is there an area where we can just check the particular files being updated and just replace those files manually?

  3. jesshutch
    Member
    Posted 1 year ago #

    Royald, that sounds like a good idea, or - not sure if this is possible with plugins - but is there a way to make a "child" for the style? Thanks again! ;-)

  4. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    I'm curious, why aren't you guys aren't using a custom stylesheet so that your plugin and theme stylings aren't lost on updates.

    It'd be better that you go for the practice of using your own custom stylesheet which is included via your theme functions.php file or a custom functions file like the following.

    wp_register_style( 'testimonials-widget', plugins_url( 'testimonials-widget.css', __FILE__ ) );
    wp_enqueue_style( 'testimonials-widget' );

    Do keep in mind that the above is for a plugin's CSS, but looking up the wp_register_style function on how it works will give you the right idea on including your custom stylesheets.

    Regarding file by file updates, technically, you could unzip the files locally and then manually push up the changes, but that's a pain.

  5. jesshutch
    Member
    Posted 1 year ago #

    Hi Michael,
    I do have a child style - I tried to include the plugin css in there (just the code I modified), but it did not pick up the style for some reason. I am still fairly new to the WordPress world, so I am sure there is something I am missing. Should it work if I paste the entire modified css into the child style?
    Thank you so much for making such a great plugin and thank you for your time.
    Kindest regards,
    Jess

  6. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    Is your child theme's stylesheet being included before or after the testimonial widget's? If before, you might need to add another custom sheet which comes afterward.

    I would only put the CSS changes into the child. This way the overall page weight remains lower.

  7. royald
    Member
    Posted 1 year ago #

    I guess cos we are WordPress newbies :)
    Thanks for the tip though, great tip.

  8. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    I fixed the CSS stylesheet in the footer issue with release 2.1.9, you might try your custom CSS changes again.

  9. jesshutch
    Member
    Posted 1 year ago #

    AWESOME! Thanks, Michael! I just updated the plugin and it retained my modifications to the CSS. I hope all is well,
    Jess

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags