| @@ -334,28 +334,8 @@ | ||
| 334 | 334 | 'position' => [ 'initial' ], |
| 335 | 335 | 'image[url]!' => '', |
| 336 | 336 | ], |
| 337 | 337 | 'required' => true, |
| 338 | - 'device_args' => [ | |
| 339 | - Breakpoints_Manager::BREAKPOINT_KEY_TABLET => [ | |
| 340 | - 'selectors' => [ | |
| 341 | - '{{SELECTOR}}' => 'background-position: {{SIZE}}{{UNIT}} {{ypos_tablet.SIZE}}{{ypos_tablet.UNIT}}', | |
| 342 | - ], | |
| 343 | - 'condition' => [ | |
| 344 | - 'background' => [ 'classic' ], | |
| 345 | - 'position_tablet' => [ 'initial' ], | |
| 346 | - ], | |
| 347 | - ], | |
| 348 | - Breakpoints_Manager::BREAKPOINT_KEY_MOBILE => [ | |
| 349 | - 'selectors' => [ | |
| 350 | - '{{SELECTOR}}' => 'background-position: {{SIZE}}{{UNIT}} {{ypos_mobile.SIZE}}{{ypos_mobile.UNIT}}', | |
| 351 | - ], | |
| 352 | - 'condition' => [ | |
| 353 | - 'background' => [ 'classic' ], | |
| 354 | - 'position_mobile' => [ 'initial' ], | |
| 355 | - ], | |
| 356 | - ], | |
| 357 | - ], | |
| 358 | 338 | ]; |
| 359 | 339 | |
| 360 | 340 | $fields['ypos'] = [ |
| 361 | 341 | 'label' => _x( 'Y Position', 'Background Control', 'elementor' ), |
| @@ -400,28 +380,8 @@ | ||
| 400 | 380 | 'position' => [ 'initial' ], |
| 401 | 381 | 'image[url]!' => '', |
| 402 | 382 | ], |
| 403 | 383 | 'required' => true, |
| 404 | - 'device_args' => [ | |
| 405 | - Breakpoints_Manager::BREAKPOINT_KEY_TABLET => [ | |
| 406 | - 'selectors' => [ | |
| 407 | - '{{SELECTOR}}' => 'background-position: {{xpos_tablet.SIZE}}{{xpos_tablet.UNIT}} {{SIZE}}{{UNIT}}', | |
| 408 | - ], | |
| 409 | - 'condition' => [ | |
| 410 | - 'background' => [ 'classic' ], | |
| 411 | - 'position_tablet' => [ 'initial' ], | |
| 412 | - ], | |
| 413 | - ], | |
| 414 | - Breakpoints_Manager::BREAKPOINT_KEY_MOBILE => [ | |
| 415 | - 'selectors' => [ | |
| 416 | - '{{SELECTOR}}' => 'background-position: {{xpos_mobile.SIZE}}{{xpos_mobile.UNIT}} {{SIZE}}{{UNIT}}', | |
| 417 | - ], | |
| 418 | - 'condition' => [ | |
| 419 | - 'background' => [ 'classic' ], | |
| 420 | - 'position_mobile' => [ 'initial' ], | |
| 421 | - ], | |
| 422 | - ], | |
| 423 | - ], | |
| 424 | 384 | ]; |
| 425 | 385 | |
| 426 | 386 | $fields['attachment'] = [ |
| 427 | 387 | 'label' => _x( 'Attachment', 'Background Control', 'elementor' ), |
| @@ -526,28 +486,8 @@ | ||
| 526 | 486 | 'condition' => [ |
| 527 | 487 | 'background' => [ 'classic' ], |
| 528 | 488 | 'size' => [ 'initial' ], |
| 529 | 489 | 'image[url]!' => '', |
| 530 | - ], | |
| 531 | - 'device_args' => [ | |
| 532 | - Breakpoints_Manager::BREAKPOINT_KEY_TABLET => [ | |
| 533 | - 'selectors' => [ | |
| 534 | - '{{SELECTOR}}' => 'background-size: {{SIZE}}{{UNIT}} auto', | |
| 535 | - ], | |
| 536 | - 'condition' => [ | |
| 537 | - 'background' => [ 'classic' ], | |
| 538 | - 'size_tablet' => [ 'initial' ], | |
| 539 | - ], | |
| 540 | - ], | |
| 541 | - Breakpoints_Manager::BREAKPOINT_KEY_MOBILE => [ | |
| 542 | - 'selectors' => [ | |
| 543 | - '{{SELECTOR}}' => 'background-size: {{SIZE}}{{UNIT}} auto', | |
| 544 | - ], | |
| 545 | - 'condition' => [ | |
| 546 | - 'background' => [ 'classic' ], | |
| 547 | - 'size_mobile' => [ 'initial' ], | |
| 548 | - ], | |
| 549 | - ], | |
| 550 | 490 | ], |
| 551 | 491 | ]; |
| 552 | 492 | |
| 553 | 493 | $fields['video_link'] = [ |