Hi,
I am trying to figure out how to get the menu to stretch evenly across the width of my template. Previously, I have done this by adding a margin between each item, but there is still a white space at the right side of the menu and it isn't consistent if I change the font. I had thought the the DMM would do this automatically. If you go to http://www.heatherfcassidy.com/links.html you'll see what I mean. Can anyone suggest how I can fix this? Code below.
Thanks,
Heather
/*
-----------------------------
PVII Drop Menu Magic
by Project Seven Development
http://www.projectseven.com
Theme 01: Affinity
-----------------------------
*/
.p7DMM01 {
position: relative;
background-color: #ffffff;
border-bottom: 0px solid #ffffff;
border-top: 0px solid #91AB98;
box-shadow: 0px 0px 30px rgba(0,0,0,.45);
border-left: 0px solid #91AB98;
border-right: 0px solid #91AB98;
}
.p7DMM01:after {
content: "020";
clear: both;
font-size: 0px;
line-height: 0;
display: inline;
height: 0px;
}
.p7DMM01.p7dmm-centered {
text-align: center;
}
.p7DMM01.p7dmm-right {
text-align: right;
}
.p7DMM01 ul {
margin: 0px;
padding: 0px;
display: inline-block;
vertical-align: bottom;
}
.p7DMM01 ul li {
list-style-type: none;
float: left;
padding: 0px 0px;
margin-right: 0px;
}
.p7DMM01 ul li:last-child {
margin-right: 0px;
}
.p7DMM01 ul a {
color: #003333;
font-size: 15px;
padding: 10px 14px;
text-decoration: none;
border: 0px solid;
border-radius: 0px;
display: block;
-webkit-transition: all linear .35s .1s;
transition: all linear .35s .1s;
-webkit-transition-property: background-color, box-shadow, border-color;
transition-property: background-color, box-shadow, border-color;
font-weight: normal;
}
.p7DMM01 ul a:hover,
.p7DMM01 ul a:focus,
.p7DMM01 ul a.open,
.p7DMM01 ul a.current_mark.closed {
outline: none;
border-color: #FFF;
border-color: rgba(255,255,255,0.65);
color: #81AB98;
box-shadow: inset 0px 12px 8px rgba(255,255,255,.2);
background-color: #ffffff;
}
.p7dmm-sub-wrapper {
position: absolute;
top: 100%;
width: 100%;
left: 0px;
display: none;
}
.p7DMM01 ul ul {
margin: 0px;
display: inline-block;
padding: 0px;
vertical-align: bottom;
}
.p7DMM01 ul ul li {
padding: 8px 0px;
}
.p7DMM01 ul ul a {
background-color: rgba(255,255,255,.5);
border-color: #FFF;
box-shadow: none;
font-size: 0.8em;
padding: 8px 10px;
box-shadow: inset 0px 0px 8px rgba(255,255,255,.15);
color: #000;
}
.p7DMM01 ul ul a:hover {
background-color: rgba(255,255,255,0.6);
border-color: #EEE;
color: #000000;
box-shadow: inset 0px 12px 20px rgba(123,164,193,.2);
}
/*By default the current-marked root link is in the open state.
This rule can be used if you would like to further differentiate the current-marked root link.*/
.p7DMM01 ul a.current_mark.closed,
.p7DMM01 ul a.current_mark:hover {
background-color: #91AB98;
color: #ffffff;
}
/*Current Marked Sub-menu Link*/
.p7DMM01 ul ul a.current_mark {
color: #91AB98;
font-weight: normal;
}
/*Toolbar for Smartphones to Hide or Show entire menu*/
.p7DMM-toolbar {
display: none;
}
/*VERTICAL MENU*/
.p7DMM01.dmm-vertical ul a.trig {
background-image: url(../jpeg/p7dmm/img/p7dmm_east_black.gif);
background-repeat: no-repeat;
background-position: left center;
}
.p7DMM01.dmm-vertical ul a.open.trig {
background-image: url(../jpeg/p7dmm/img/p7dmm_south_black.gif);
background-repeat: no-repeat;
background-position: left center;
}
.p7DMM01.dmm-vertical {
background-color: transparent;
box-shadow: none;
border-bottom: none;
}
.p7DMM01.dmm-vertical ul,
.p7DMM01.dmm-vertical ul ul {
display: block;
padding: 0px;
margin: 0px;
}
.p7DMM01.dmm-vertical ul ul {
border-radius: 0px 0px 5px 5px;
background-color: #DDD;
}
.p7DMM01.dmm-vertical ul li,
.p7DMM01.dmm-vertical ul ul li {
float: none;
display: block;
padding: 0px;
margin-right: 0px !important;
}
.p7DMM01.dmm-vertical ul li {
margin-bottom: 8px;
}
.p7DMM01.dmm-vertical ul li:last-child {
margin-bottom: 0px;
}
.p7DMM01.dmm-vertical ul ul li {
margin-bottom: 0px;
}
.p7DMM01.dmm-vertical ul a {
padding: 8px 18px;
}
.p7DMM01.dmm-vertical ul a.open {
border-radius: 5px 5px 0px 0px;
}
.p7DMM01.dmm-vertical ul ul a {
border-top: none;
border-radius: 0px;
border-bottom: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
border-color: rgba(255,255,255,.35);
background-color: transparent;
font-size: 0.9em;
}
.p7DMM01.dmm-vertical ul ul li:last-child a {
border-radius: 0px 0px 4px 4px;
}
.p7DMM01.dmm-vertical ul ul a:hover {
background-color: rgba(142,176,202,0.6);
color: #000000;
}
.p7DMM01.dmm-vertical .p7dmm-sub-wrapper {
width: 100%;
position: relative;
padding: 0px;
margin: 0px;
top: 0px;
}
/*POP MENU MODE*/
.p7DMM01.dmm01-pop .p7dmm-sub-wrapper {
text-align: left;
padding-bottom: 30px;
padding-right: 30px;
width: auto;
left: auto;
display: none;
z-index: 99;
}
.p7DMM01.dmm01-pop ul ul {
background-color: #ffffff;
border-radius: 5px 5px 5px 5px;
border: 1px solid;
border-color: #99AB98;
margin-top: 10px;
}
.p7DMM01.dmm01-pop ul ul li {
padding: 0px;
float: none;
margin: 0px;
}
.p7DMM01.dmm01-pop ul ul a {
background-color: transparent;
box-shadow: none;
border-radius: 0px;
font-size: 13px;
padding: 3px 10px;
box-shadow: none;
color: #81AB98;
border: none;
}
.p7DMM01.dmm01-pop ul ul li:last-child a {
border-radius: 0px 0px 4px 4px;
}
.p7DMM01.dmm01-pop ul ul a:hover {
background-color: transparent;
color: #81AB98;
background-color: #FFFFFF;
box-shadow: none;
text-decoration: underline;
}
/*By default the current-marked root link is in the open state.
This rule can be used if you would like to further differentiate the current-marked root link.*/
.p7DMM01 ul a.current_mark.closed,
.p7DMM01 ul a.current_mark:hover {
}
/*Current Marked Sub-menu Link*/
.p7DMM01.dmm01-pop ul ul a.current_mark {
color: #ffffff;
font-weight: normal;
background-color: #91ab98;
}
/*Smartphone Menu Presentation*/
@media only screen and (min-width: 0px) and (max-width: 700px) {
.p7DMM01.responsive {
padding: 0px;
margin: 0px;
}
.p7DMM01.responsive ul a.trig {
background-image: url(img/p7dmm_east_black.gif);
background-repeat: no-repeat;
background-position: left center;
}
.p7DMM01.responsive ul a.open.trig {
background-image: url(img/p7dmm_south_black.gif);
background-repeat: no-repeat;
background-position: left center;
}
.p7DMM01.responsive ul li {
margin: 0px;
padding: 0px;
}
.p7DMM01.responsive ul,
.p7DMM01.responsive ul ul {
display: block;
padding: 0px;
margin: 0px;
}
.p7DMM01.responsive ul li,
.p7DMM01.responsive ul ul li {
float: none;
display: block;
margin: 0px;
padding: 0px;
}
.p7DMM01.responsive ul li a,
.p7DMM01.dmm-vertical ul li a {
border: none;
border-radius: 0px;
padding: 8px 18px;
border-bottom: 1px solid rgba(255,255,255,.15) !important;
}
.p7DMM01.responsive ul li:last-child a {
border-bottom: none;
}
.p7DMM01.responsive .p7dmm-sub-wrapper {
width: 100%;
position: relative;
padding: 0px;
margin: 0px;
top: 0px;
}
/*Toolbar for Smartphones to Hide or Show entire menu*/
.p7DMM01.responsive .p7DMM-toolbar,
.p7DMM01.dmm-vertical .p7DMM-toolbar {
position: relative;
z-index: 999;
display: block;
background-color: #222;
text-align: right;
padding: 6px;
cursor: pointer;
}
.p7DMM01.dmm-vertical .p7DMM-toolbar {
background-color: #222222 !important;
border-radius: 5px 5px 0px 0px;
}
.p7DMM01.responsive .p7DMM-toolbar.closed a:before {
content: "Show Menu";
}
.p7DMM01.responsive .p7DMM-toolbar.opened a:before {
content: "Hide Menu";
}
.p7DMM.responsive ul.closed {
display: none;
}
.p7DMM.responsive ul.opened {
display: block;
}
.p7DMM01.responsive .p7DMM-toolbar img,
.p7DMM01.dmm-vertical .p7DMM-toolbar img {
border: none;
padding-left: 16px;
}
.p7DMM01.responsive .p7DMM-toolbar a,
.p7DMM01.dmm-vertical .p7DMM-toolbar a {
color: #999;
text-transform: uppercase;
font-size: .8em;
background-color: transparent !important;
border: none !important;
text-decoration: underline;
}
.p7DMM01.responsive .p7DMM-toolbar.closed a,
.p7DMM01.dmm-vertical .p7DMM-toolbar.closed a {
color: #EEE;
}
.p7DMM01.responsive .p7DMM-toolbar img,
.p7DMM01.dmm-vertical .p7DMM-toolbar img {
opacity: .5;
}
.p7DMM01.responsive .p7DMM-toolbar:hover img,
.p7DMM01.dmm-vertical .p7DMM-toolbar:hover img {
opacity: .85;
}
.p7DMM01.responsive .p7DMM-toolbar:hover a,
.p7DMM01.dmm-vertical .p7DMM-toolbar:hover a {
color: #EEE;
}
.p7DMM01.responsive .p7DMM-toolbar.closed img,
.p7DMM01.dmm-vertical .p7DMM-toolbar.closed img {
opacity: 1;
}
.p7DMM01.responsive .p7DMM-toolbar.closed:hover,
.p7DMM01.dmm-vertical .p7DMM-toolbar.closed:hover {
background-color: #466275;
}
.p7DMM01.dmm-vertical * {
border-radius: 0px !important;
}
.p7DMM01.dmm01-pop .p7dmm-sub-wrapper {
padding-bottom: 0px;
padding-right: 0px;
width: 100%;
}
/*END MEDIA QUERY - DO NOT REMOVE CURLY BRACE BELOW*/
}
/*Exception rules for Smartphones in Landscape orientation only*/
@media only screen and (max-device-width: 480px) and (orientation : landscape) {
.p7DMM01.responsive ul a {
font-size: 1.35em;
padding: .35em .75em;
}
.p7DMM01.responsive ul ul a {
font-size: 1em;
padding: .3em 1em;
}
/*END MEDIA QUERY - DO NOT REMOVE CURLY BRACE BELOW*/