2017-06-05 44 views
0

你好你能帮我在redux框架分类器中定义列宽? 看看这段代码。如何在reduxframework中定义分拣机标签宽度?

Redux::setSection($opt_name, array(
    'title'   => __('Page Manager', 'redux'), 
    'id'    => 'page-manager', 
    'subsection' => true, 
    'desc' => __('These Settings will work only Landing Page, Now you can use any section on Landing Page.', 'redux'), 
    'customizer_width' => '700px', 
    'icon'    => 'el el-home-alt', 
    'fields'  => array(
     array(
      'id'  => 'opt-homepage-layout-landing', 
      'type'  => 'sorter', 
      'title' => 'Landing Page Layout Manager', 
      'desc'  => 'Organize how you want the layout to appear on the Home Page', 
      'compiler' => 'true', 
      'options' => array(
       'disabled' => array(      
        'sliderv1' => 'LayerSlider Style 1', 
       ), 
       'enabled' => array(
        'sliderv2' => 'LayerSlider Style 2', 
       ), 
      ), 
     ), 
    ) 
)); 

现在,如果我们来选择,然后才会显示LayerSlider但我想说明LayerSlider样式1. 如何其可能没有自定义CSS?

回答

0

我用自定义的CSS来管理这个。 我在WordPress管理员端包含自定义CSS。除此之外,我还没有找到任何解决方案。只需在此回复即可帮助他人。