Issue #1245Opened June 28, 2018by Deepak8130 reactions

How to set slider in margin-top property

Question

Hi @artf,

Can you please let me know how we can set the slider in margin-top property.I am setting with the below code but slider is moving to its direction:

{ name : 'Margin Top', property : 'margin-top', type : 'slider', defaults : 1, step : 0.1, min : 0, max : 1 },

Please help me out to resolve this. Thanks in advance

Answers (3)

artfJune 30, 20180 reactions

I don't understand your issue, so please be more specific or even better post a live demo. BTW I don't think you want 1 as a maximum value of the margin, it would make more sense something like this: step: 1, min: -100, max: 100

no-response[bot]July 10, 20180 reactions

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

lock[bot]September 17, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.