Reply To: change width field my account

Home Forums Support change width field my account Reply To: change width field my account

#225709
Nico

Hi Tom.

I found this code to create a horizontal menu bar in my account pages.
This is fine for me. the contents of the my account pages can now use the whole width.

/* My account horizontal menu bar */
.woocommerce .woocommerce-MyAccount-navigation {
float: none;
width: 100%;
margin: 0 0 30px;
border-bottom: 1px solid rgba(0, 0, 0, .5);
}

.woocommerce .woocommerce-MyAccount-navigation:before,
.woocommerce .woocommerce-MyAccount-navigation:after {
content: ” “;
display: table;
}

.woocommerce .woocommerce-MyAccount-navigation:after {
clear: both;
}

.woocommerce .woocommerce-MyAccount-navigation li {
float: left;
padding: 0 10px;
border: none;
border-left: 2px solid rgba(0,0,0,.5);
}

.woocommerce .woocommerce-MyAccount-content {
float: none;
width: 100%;
margin: 0;
}