Sayontan, this is what I meant about the backend looking odd.

<link rel='stylesheet' id='jigoshop_admin_styles-css' href='http://lop.orba-design.com/wp-content/plugins/jigoshop/assets/css/admin.css?ver=3.3.2' type='text/css' media='all' />
<link rel='stylesheet' id='jquery-ui-jigoshop-styles-css' href='http://lop.orba-design.com/wp-content/plugins/jigoshop/assets/css/jquery-ui-1.8.16.jigoshop.css?ver=3.3.2' type='text/css' media='all' />
admin.css holds our icon placements, so if we removed admin.css from every other menu except Jigoshop, you'd see something like this
http://i.imgur.com/ZAeqW.png
add_menu_page(__('Jigoshop'), __('Jigoshop'), 'manage_options', 'jigoshop' , 'jigoshop_dashboard', jigoshop::assets_url() . '/assets/images/icons/menu_icons.png', 55);function jigoshop_admin_head() {
?>
<style type="text/css">
<?php if ( isset($_GET['taxonomy']) && $_GET['taxonomy']=='product_cat' ) : ?>
.icon32-posts-product { background-position: -243px -5px !important; }
<?php elseif ( isset($_GET['taxonomy']) && $_GET['taxonomy']=='product_tag' ) : ?>
.icon32-posts-product { background-position: -301px -5px !important; }
<?php endif; ?>
/* The above piece is already there. The stuff below needs to be added .... */
#toplevel_page_jigoshop .wp-menu-image {
background: url(<?php echo jigoshop::assets_url() . '/assets/images/icons/menu_icons.png'; ?>) no-repeat top left !important;
}
#toplevel_page_jigoshop:hover .wp-menu-image, #toplevel_page_jigoshop.wp-has-current-submenu .wp-menu-image {
background-position: -28px 0 !important; /* Adjust as per sprite's dimensions. */
}
</style>
<?php
}
Users browsing this forum: No registered users and 1 guest