Kirki: Dashicons breaks section navigation height

Created on 15 Sep 2016  路  3Comments  路  Source: kirki-framework/kirki

Issue description:

When using dashicons in sections the navigation bar height seems expands (see attachment). Is that normal?

customizer-dashicons

Version used:

(Did you try using the develop branch from github? There's a chance your issue has already been adressed there)

Latest from WordPress.org (2.3.6)

Using theme_mods or options?

theme_mods

Code to reproduce the issue (config + field(s))

mytheme_Kirki::add_section( 'outlook_about_section', array(
    'title'                 => esc_attr__( 'About', 'mytheme' ),
    'priority'              => 10,
    'panel'                 => 'mytheme_front_page_panel',
    'icon'              => 'dashicons-align-left',
    'capability'            => 'edit_theme_options',
) );
bug

All 3 comments

Marked as a bug, will get it fixed and include in the next version.
Good catch!

Hi @aristath ,
I found another issue here that you may consider to look at it also. When adding a panel icon, sections (under this panel) are automatically adding that icon too. If I use different icons for sections under that panel then two icon displays in the sections. Let me give you the screenshots. Im not so good in english, still learning besides coding so please hang with me.

Panel Icon:
'icon' => 'dashicons-admin-home'

Section Icon:
'icon' => 'dashicons-menu'

Panel screenshot:
panel

Sections screenshot:
sections

Closing this one, will be fixed on #1125

Was this page helpful?
0 / 5 - 0 ratings