In your construct function you also need to enqueue a custom stylesheet that will house the CSS to style up your theme options.
A simplified example would look like this:
function admin_style() {
wp_enqueue_style( 'theme-options-style', get_template_directory_uri().'styles/theme-options-style.css');
}
add_action('admin_enqueue_scripts', 'admin_style');
Related Posts:
- Add update notification bubble to admin menu item?
- Admin page repeatable fields
- Efficiency of wp_options vs a new table
- update_option does not work in this scenario – how do I fix?
- admin menu: use default “general” page for theme settings using add_menu_page and add_submenu_page
- How Do I create multiple Top Level Admin Menu Pages To submit data to the options table?
- Settings API – Checkboxes validation in a menu with multiple subpages
- Hiding an added admin page menu using css
- WordPress admin menu formatting issue
- get_option() vs get_theme_mod(): Why is one slower?
- The Great WordPress Admin Menu Challenge of Jan 2011 (a.k.a. How to Resolve Some Challenges when Modifying the WordPress Admin Menu System?)
- Remove duplicate main – submenu in admin?
- Plugin View Details Link
- Add an admin page, but don’t show it on the admin menu
- Getting custom admin submenu item to highlight when its active
- How To Add New Option Types To Option Tree?
- Best practices for a Style/CSS based theme options page?
- Are there any reasons you can’t use strings for admin menu positions?
- remove_menu_page doesn’t work on custom plugin menus
- What’s the best method for emptying an option created with the Settings API?
- Add visit site to your toolbar instead of being in the dropdown
- List table not rendering when $this->items is filled
- Order Admin sub-menu items?
- How to add a new plugin page under desired Options page?
- Admin sidebar items overlapping in admin panel
- Submenu pages delete settings from options array when saved
- How Can I remove or hide the export page in WordPress menu?
- Site Title and Tagline in Theme Options Page
- Reorder custom submenu item
- How to check if an admin (sub)menu already exists?
- How to hide menu on WordPress admin
- Using update_option() and get_option() is echoing escaped strings
- Editor role cannot save custom theme options
- Theme Options page with tabs
- WordPress settings API error when checkbox unchecked
- custom admin menu with custom filed
- Outputting results from select box option in options panel
- Add highlighting to new Admin Dashboard Menu Item
- Site Title and Tagline in Pagelines DMS Options Panel
- Theme editor menu item refuses to go away
- Save Theme Options (options.php) From The Frontend
- Remove menus and submenus
- Highlighting a Menu Item by Post Name
- How to remove the Plugins Editor from the admin menu
- add logout button on admin side menu
- Separate backend “Widgets” page for each language
- Admin custom option screen not saved unless user manage_options capability
- WordPress admin menu formatting issue
- How to remove_menu_page added by a plugin that appears to have no referenceable slug
- Display user HTML on website
- Need help understanding/coding with Settings API
- Admin page menu keeps bugging out
- WordPress setting API strucked
- Admin Menu – Highlight top-level menu when on a sub-menu page (without showing sub-menu)
- Show admin menu and toolbar in admin post page
- Why I can’t change the permalink of this page?
- Edit Page or Post from Top Admin Bar
- Theme options WP Editor
- How to minimize WP dashboard menu programmatically?
- Unified Approach for Placing Option Pages
- How to change menu page capability
- add function to saving change on Options Pages
- WordPress add_options_page() function not considering role
- How to mark an option as selected
- How to determin which admin screen/sub screen I’m currently viewing
- Cannot update WordPress General Settings Site Title and Tagline
- Add post-new.php?post_cat=catslug to admin menu
- Link to Second Level Admin Page
- check current_theme_supports in admin_menu hook
- Is there a reliable way to keep track of how long a WordPress theme has been active?
- How do I insert the smaller variant of an image?
- Why add_menu_page adds admin.php and how to remove it?
- Is there any way to add absolute path for add_menu_page function?
- Admin menu bar dropdown opens when I click on a form element (Chrome) [closed]
- Can’t save options
- how can i add custom menu in admin panel?
- Change URL of plugin admin menu
- menu_order not working with slugs that start with admin.php
- How to add_menu_page include a php file page from theme directory
- How do I demote a menu item in the admin menu?
- Removing posts and comments from WordPress
- Is it possible to pass variables from add_user_page?
- place a direct link to custom-stylesheet, under appearance menu in wp-admin
- Is there a limit to the number of items that can be added using the Appearance Menus Screen?
- Wrong current class on admin menu with add_submenu_page()
- Add Plugin options as subpage to Theme options page
- How to access $menu variable in custom .PHP file that loads wp-load.php?
- How can I make my options in an array and store theme in WP options one DB row?
- get option framework options returns Call to undefined function of_get_option()
- Role capability issue
- Adding a submenu to the Tools menu returns tools.php in a popup box
- Update problem with update_option() in combination with register_setting()
- WordPress admin menu formatting issue
- What action/filter/function determines “current” class in WP Admin Menu
- Error: options page not found
- ‘Headers already sent’ Error When Redirecting from add_submenu_page() Callback
- Create dynamic wordrpess blank page
- What’s the correct way of moving a menu page to a submenu
- Is it possible to add 3 level menu item to admin menu?
- How to save custom settings api fields with custom section fuction