diff --git a/css/federated-my-account-sidebar.css b/css/federated-my-account-sidebar.css new file mode 100644 index 0000000..63fcc9f --- /dev/null +++ b/css/federated-my-account-sidebar.css @@ -0,0 +1,36 @@ +.woocommerce-MyAccount-navigation { + font-size: 18px; + padding-top: 6rem; +} + +.woocommerce-MyAccount-navigation>ul { + list-style: none !important; +} + +.woocommerce-MyAccount-navigation-link { + margin-bottom: 30px; +} + +.woocommerce-MyAccount-content { + padding-top: 6rem; +} + +.woocommerce a { + color: black !important; +} + +.woocommerce a:hover { + color: grey !important; +} + +.woocommerce-MyAccount-content .py-24 { + padding-top: 0; +} + +.woocommerce table.my_account_orders .button { + margin: 5px; +} + +.woocommerce table.shop_table { + border-radius: 0 !important; +} \ No newline at end of file diff --git a/federated.php b/federated.php index 725c061..69abb83 100644 --- a/federated.php +++ b/federated.php @@ -3,7 +3,7 @@ /** * Plugin Name: Federated Computer E-Commerce * Description: This plugin contains customizations for Federated Computer. - * Version: 1.0.3 + * Version: 1.0.4 */ diff --git a/woocommerce/my_account_customizations.php b/woocommerce/my_account_customizations.php index a4baf1a..ef16e6b 100644 --- a/woocommerce/my_account_customizations.php +++ b/woocommerce/my_account_customizations.php @@ -9,11 +9,13 @@ add_action('init', 'register_federated_my_account_styles'); function register_federated_my_account_styles() { wp_register_style( 'my-account', '/wp-content/plugins/fed-comp-customizations/css/federated-my-account.css' ); + wp_register_style( 'my-account-sidebar', '/wp-content/plugins/fed-comp-customizations/css/federated-my-account-sidebar.css' ); } add_action( 'wp_enqueue_scripts', 'conditionally_enqueue_federated_my_account_styles_scripts' ); function conditionally_enqueue_federated_my_account_styles_scripts() { if ( is_page('my-account') ) { wp_enqueue_style( 'my-account' ); + wp_enqueue_style( 'my-account-sidebar' ); } }