Complete Dashboard CSS
Copy this entire CSS block and add it to WordPress Admin → Settings → Insert Headers and Footers in the “Scripts in Header” section (wrap it in <style> tags):
/* New Dashboard Header & Layout */
.scripify-dashboard {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
font-family: Arial, sans-serif;
}
.dashboard-header {
background: linear-gradient(135deg, #2c5530, #4a7c59);
color: white;
padding: 30px;
border-radius: 10px;
margin-bottom: 30px;
}
.welcome-title {
font-size: 2.5em;
margin: 0;
font-weight: 300;
}
.welcome-subtitle {
font-size: 1.2em;
margin: 10px 0 0;
opacity: 0.9;
}
.section-title {
color: #2c5530;
font-size: 1.8em;
margin-bottom: 20px;
border-bottom: 3px solid #4a7c59;
padding-bottom: 10px;
}
.action-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.action-card {
background: white;
border: 1px solid #e0e0e0;
border-radius: 10px;
padding: 25px;
text-align: center;
transition: all 0.3s ease;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.action-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
.card-icon {
font-size: 3em;
margin-bottom: 15px;
}
.btn {
display: inline-block;
padding: 12px 25px;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
}
.btn-primary {
background: #4a7c59;
color: white;
}
.btn-secondary {
background: #6c757d;
color: white;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
/* WooCommerce Dashboard Styling */
.woocommerce-account .woocommerce,
.woocommerce-MyAccount-content {
background: #ffffff;
padding: 30px;
border-radius: 12px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.woocommerce-MyAccount-navigation {
background: #f8f9fa;
border-radius: 12px;
padding: 20px;
margin-bottom: 30px;
}
.woocommerce-MyAccount-navigation ul {
list-style: none;
margin: 0;
padding: 0;
}
.woocommerce-MyAccount-navigation ul li {
margin-bottom: 10px;
}
.woocommerce-MyAccount-navigation ul li a {
display: block;
padding: 12px 20px;
background: #ffffff;
color: #333333;
text-decoration: none;
border-radius: 8px;
transition: all 0.3s ease;
font-weight: 500;
border: 2px solid transparent;
}
.woocommerce-MyAccount-navigation ul li a:hover {
background: #00a651;
color: #ffffff;
transform: translateX(5px);
}
.woocommerce-MyAccount-navigation ul li.is-active a {
background: #00a651;
color: #ffffff;
border-color: #00a651;
}
.woocommerce-MyAccount-content > h2:first-child {
color: #00a651;
font-size: 28px;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 3px solid #00a651;
}
.woocommerce-MyAccount-content table.shop_table {
border-radius: 8px;
overflow: hidden;
border: none;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.woocommerce-MyAccount-content table.shop_table th {
background: #00a651;
color: #ffffff;
padding: 15px;
font-weight: 600;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 1px;
}
.woocommerce-MyAccount-content table.shop_table td {
padding: 15px;
background: #ffffff;
border-bottom: 1px solid #e9ecef;
}
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content .woocommerce-button {
background: #00a651;
color: #ffffff;
padding: 12px 30px;
border: none;
border-radius: 8px;
font-weight: 600;
transition: all 0.3s ease;
}
.woocommerce-MyAccount-content .button:hover {
background: #008a44;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,166,81,0.3);
}
</style>
Instructions:
- Select all the text in the textarea above
- Copy it (Ctrl+C or Cmd+C)
- Go to WordPress Admin → Settings → Insert Headers and Footers
- Paste it in the “Scripts in Header” section
- Click Save
This will style your dashboard at https://scripify.com.au/my-account/