Navigation button image background?
#1
Posted 20 September 2011 - 11:48 AM
#2
Posted 20 September 2011 - 12:57 PM
#3
Posted 20 September 2011 - 01:02 PM
#4
Posted 20 September 2011 - 01:39 PM
Can you test this for me please, add the code below to Platform Settings -- > Custom Code --> CSS Rules:
/* NAVIGATION */
#nav_row.main_nav, ul.sf-menu ul li {
background: transparent !important;
}
#primary-nav ul.main-nav {
background: #a4a09a; /* Old browsers */
background: -moz-linear-gradient(top, #a4a09a 0%, #857e78 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a4a09a), color-stop(100%,#857e78)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #a4a09a 0%,#857e78 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #a4a09a 0%,#857e78 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #a4a09a 0%,#857e78 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a4a09a', endColorstr='#857e78',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #a4a09a 0%,#857e78 100%); /* W3C */
border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;
border: 0 none !important;
width: auto;
}
.main_nav li {
background: transparent !important;
border-right: 1px solid #FFFFFF;
}
.page-item-19 a, .page-item-19 a:active {
background: #F57921 !important;
border-radius: 6px 0 0 6px; -moz-border-radius: 6px 0 0 6px; -webkit-border-radius: 6px 0 0 6px;
}
.page-item-62 a, .page-item-62 a:active, .page-item-62 a:hover {
background: #F57921 !important;
border-radius: 0px 6px 6px 0px; -moz-border-radius: 0px 6px 6px 0px; -webkit-border-radius: 0px 6px 6px 0px;
}
.main-nav li a {
color: #FFFFFF !important;
font-size: 0.85em;
}
#footer .page-item-19 a, .page-item-19 a:active {
background: transparent !important;
border-radius: 0 !important; -moz-border-radius: 0 !important; -webkit-border-radius: 0 !important;
}
#nav_row.main_nav, ul.sf-menu ul li {
border: 0 none !important;
}
I did the gradient via CSS rather than the image, if you prefer to use the image, I can change that for you.
**EDIT: Made a few changes, as there were some minor errors, please replace all the code again.
#5
Posted 20 September 2011 - 01:45 PM
#6
Posted 20 September 2011 - 02:08 PM
#7
Posted 20 September 2011 - 02:17 PM
#8
Posted 20 September 2011 - 02:24 PM
#9
Posted 20 September 2011 - 02:26 PM
#10
Posted 20 September 2011 - 02:30 PM
#11
Posted 20 September 2011 - 02:36 PM
#12
Posted 20 September 2011 - 02:41 PM
#13
Posted 20 September 2011 - 02:59 PM
#14
Posted 20 September 2011 - 04:38 PM
#15
Posted 20 September 2011 - 04:46 PM
#16
Posted 20 September 2011 - 04:54 PM
#17
Posted 21 September 2011 - 09:23 AM
#18
Posted 21 September 2011 - 09:29 AM
#19
Posted 21 September 2011 - 10:16 AM
#20
Posted 21 September 2011 - 10:41 AM










