Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

The problem Customizer due to class .fw-pull-left

Open Bogdan808 opened this issue 9 years ago • 5 comments

Hi! We have an problem when using the optins. Need to kill of this class. This can be functionally? I don't want to cancge core code.

Attach: http://clip2net.com/s/3H5iipa

Bogdan808 avatar Feb 02 '17 13:02 Bogdan808

Hello,

I added this code in customizer.php

$options = array(
	'z' => array('type' => 'slider'),
);

and it works fine

staticshot_06-02-2017_16-09-39

ghost avatar Feb 06 '17 14:02 ghost

Can you confirm that the issue is still present on your side?

GheorgheP avatar Mar 04 '17 16:03 GheorgheP

I have this issue as well in the customizer. Text fields, multi-select, and probably others have a "fw-pull-left" class added to the "fw-inner" container which throws off the display of these options.

screen shot 2017-07-12 at 10 47 34 am screen shot 2017-07-12 at 10 48 09 am

meta4creations avatar Jul 12 '17 15:07 meta4creations

The same problem here. Did you solve it?

sliderproblem

gigit95 avatar Aug 13 '17 14:08 gigit95

As you see in my case it was a slider. I've changed a little bit "backend-option-design-customizer.php" and it seems to be fixed. A simple if-else... 123 gb

<?php if ($option['type'] == 'slider'): //If it's a slider dont put in 'fw-pull-left'?>
	<div class="<?php echo esc_attr($classes['input']) ?>">
		<div class="fw-inner fw-clearfix">
			<div class="fw-inner-option">
				<?php echo fw()->backend->option_type($option['type'])->render($id, $option, $data); ?>
			</div>
		</div>
	</div>
<?php else: // else leave it as it was before?>		
	<div class="<?php echo esc_attr($classes['input']) ?>">
		<div class="fw-inner fw-pull-<?php echo is_rtl() ? 'right' : 'left'; ?> fw-clearfix">
			<div class="fw-inner-option">
				<?php echo fw()->backend->option_type($option['type'])->render($id, $option, $data) ?>
			</div>
		</div>
	</div>
<?php endif;?>

gigit95 avatar Aug 14 '17 01:08 gigit95