WordPress.org

Ready to get started?Download WordPress

Forums

Animated weather widget by weatherfor.us
[resolved] It's possible a little change to your style? (4 posts)

  1. raffaele-ita
    Member
    Posted 3 months ago #

    I like very much your plugin but the close button is at top:0px right:0px
    i would like to have somethings like this

    element.style {
    display: block;
    position: absolute;
    top: 100px; <-----
    right: 350px; <-------
    cursor: pointer;
    z-index: 10101; <-----
    }
    Do you think that i can have a solution?
    thanks a lot!

    https://wordpress.org/plugins/weather-for-us-widget/

  2. zenogaisis
    Member
    Plugin Author

    Posted 1 month ago #

    Yes since the close button lies within parent page you can use jQuery to apply styles to close button.

  3. kathrynws
    Member
    Posted 1 month ago #

    Hi

    I agree with this - when you are logged in to wordpress admin the admin bar completely hides the 'x' close button. smaller styling would look better

    Thanks

  4. raffaele-ita
    Member
    Posted 1 month ago #

    i'm sure that it is how you have written! it is possible changing style using jquery....but i'm not able to do it....
    BECAUSE:
    the index.php file included in your "weather-for-us-widget" folder calls at 156 line a .js file(minion.js) positioned in your domain "http://www.weatherfor.us/" and in this file(minion.js) is established the position of the close button.
    when i use your plugin it generates a iframe and i can't overwrite the style of your iframe and then the style of the close button.
    The only solution that i see, but i don't know if it is possible according copyright of your plugin , it would be:
    1) download the minion.js file from your domain;
    2) open it and changing the top and right position of close button and upload it on my domain;
    3) changing the 156 line of index.php file inside "weather-for-us-widget" folder, so that it calls the minion.js file from my domain.
    and it's all!
    can i do this? or i violate your copyright?..
    thanks for your answer
    Raffaele

Reply

You must log in to post.

About this Plugin

About this Topic