/home/vianto5/ceibaresidencial.mx/wp-content/themes/moore_old/elementor/widgets
NameSizeModeActions
apartments-masonry.php128150644editdlrm
apartments-slider.php158910644editdlrm
blog.php133660644editdlrm
box-feature.php120100644editdlrm
box-feature2.php99410644editdlrm
box-info.php84540644editdlrm
button-scrolldown.php32440644editdlrm
choice-language.php145290644editdlrm
contact-info.php122000644editdlrm
direction-slider.php100090644editdlrm
gallery-category.php110870644editdlrm
gallery-simple.php69540644editdlrm
gallery.php115840644editdlrm
header-banner.php89300644editdlrm
header-left.php64060644editdlrm
heading.php46930644editdlrm
instagram.php145030644editdlrm
logo.php81870644editdlrm
menu-canvas.php49230644editdlrm
menu-footer.php61570644editdlrm
menu-nav.php51730644editdlrm
package.php113700644editdlrm
progress.php113140644editdlrm
project-declaration.php134470644editdlrm
room-list.php188410644editdlrm
rooms-filter.php234750644editdlrm
team.php63090644editdlrm
testimonial.php177270644editdlrm
text-list.php59650644editdlrm
Edit: /home/vianto5/ceibaresidencial.mx/wp-content/themes/moore_old/elementor/widgets/menu-canvas.php (4923B)
start_controls_section( 'section_menu_type', [ 'label' => esc_html__( 'Global', 'moore' ), ] ); $menus = \wp_get_nav_menus(); $list_menu = array(); foreach ($menus as $menu) { $list_menu[$menu->slug] = $menu->name; } $this->add_control( 'menu_slug', [ 'label' => esc_html__( 'Select Menu', 'moore' ), 'type' => Controls_Manager::SELECT, 'options' => $list_menu, 'default' => '', 'prefix_class' => 'elementor-view-', ] ); $this->add_control( 'menu_dir', [ 'label' => esc_html__( 'Menu Direction', 'moore' ), 'type' => \Elementor\Controls_Manager::CHOOSE, 'options' => [ 'dir_left' => [ 'title' => esc_html__( 'Left', 'moore' ), 'icon' => 'eicon-text-align-right', ], 'dir_right' => [ 'title' => esc_html__( 'Right', 'moore' ), 'icon' => 'eicon-text-align-left', ], ], 'default' => 'dir_left' ] ); $this->end_controls_section(); /* Parent Menu Section *******************************/ /***********************************************/ $this->start_controls_section( 'section_content', [ 'label' => esc_html__( 'Style', 'moore' ), ] ); $this->add_control( 'btn_color', [ 'label' => esc_html__( 'Button', 'moore' ), 'type' => Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} .menu-toggle:before' => 'background-color: {{VALUE}};', '{{WRAPPER}} .menu-toggle span:before' => 'background-color: {{VALUE}};', '{{WRAPPER}} .menu-toggle:after' => 'background-color: {{VALUE}};', ], ] ); $this->add_control( 'background_btn_color', [ 'label' => esc_html__( 'Background Button', 'moore' ), 'type' => Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} button.menu-toggle:hover' => 'background-color: {{VALUE}};', ], ] ); $this->add_control( 'bg_color', [ 'label' => esc_html__( 'Menu Background', 'moore' ), 'type' => Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} .container-menu' => 'background-color: {{VALUE}};', ], 'separator' => 'before' ] ); $this->add_control( 'text_color', [ 'label' => esc_html__( 'Link', 'moore' ), 'type' => Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} ul li a' => 'color: {{VALUE}};', ], ] ); $this->add_control( 'text_color_hover', [ 'label' => esc_html__( 'Link Hover', 'moore' ), 'type' => Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} ul li a:hover' => 'color: {{VALUE}};', ] ] ); $this->add_control( 'text_color_active', [ 'label' => esc_html__( 'Link Active', 'moore' ), 'type' => Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} ul li.current-menu-item > a' => 'color: {{VALUE}};', '{{WRAPPER}} ul li.current-menu-ancestor > a' => 'color: {{VALUE}};', '{{WRAPPER}} ul li.current-menu-parent > a' => 'color: {{VALUE}};', ] ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'typography', 'selector' => '{{WRAPPER}} ul li a' ] ); $this->end_controls_section(); } protected function render() { $settings = $this->get_settings(); ?> register( new Moore_Elementor_Canvas_Menu() );