WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Dynamic "To Top" Plugin] Margin bootom

[Resolved] [Plugin: Dynamic "To Top" Plugin] Margin bootom

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Matt
    Member

    @sksmatt

    Hi Eric 05,

    You could try hooking into the filter mv_dynamic_to_top_css this allows you to modify the minified css before it’s served.

    function my_dynamic_to_top_filter( $css ){
        $css .= '{ #dynamic-to-top{ bottom: 200px }; }';
        return $css;
    }
    
    add_filter('mv_dynamic_to_top_css','my_dynamic_to_top_filter');

    Kind Regards!

    I see, but which css stylesheet should I put in? dynamic-to-top-admin.css or dynamic-to-top-jquery-ui.css?

    kjodle
    Participant

    @kjodle

    It should go into your child theme’s functions file.

    I see, but that doesn’t work at all.

    Plugin Author Matt
    Member

    @sksmatt

    Hi Guys,

    Little typo in my example, apologies. It would be:

    function my_dynamic_to_top_filter( $css ){
        $css .= '#dynamic-to-top{ bottom: 200px; }';
        return $css;
    }
    
    add_filter('mv_dynamic_to_top_css','my_dynamic_to_top_filter');

    As Kjodie said, It should go into your theme’s functions file.

    Kind Regards!

    Hello, I want my bottom-right configured button with 32px margin-bottom.
    HOW can I edit this info?

    Take a look here – http://www.cutedrop.com.br/2012/06/principe-da-persia-e-a-rotoscopia/ – to understand the reason I want this customized margin.

    Im not a developer, so if you can explain with details Id be glad.
    Thanks a lot

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Dynamic "To Top" Plugin] Margin bootom’ is closed to new replies.