If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Changing color of grey bar on index page

Changing color of grey bar on index page

Locked

Started by janicem on 3 Jul 2007, 9:15 PM · Views: 2,065

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
3 Jul 2007, 9:15 PM
#1
janicem avatar

janicem

New Zenner

Join Date:
Jul 2007
Posts:
19
Plugin Contributions:
0

Changing color of grey bar on index page

Greetings!
I can't for the life of me figure out how to get the grey bars to change colors. When I plug a color change into the style sheet, it completely disappears. Can anyone help.
I apologize if this is a duplicate posting on this subject, my eyes are crossing from reading so much, but could not find the answer that I needed anywhere.
Here is my website: http://thestitchintree.com/zencart/index.php?main_page=

Also, the color I am trying to change it to and the rest of the bars/headers is #6699cc. If you look down toward the bottom at the sponser box you will see the color I am attempting to get.

I am just getting started on it, so don't judge me to harsely yet.

Thanks,
Janice

3 Jul 2007, 9:28 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing color of grey bar on index page

In the stylesheet.css being used for a template that you are creating find this entry and change the #9a9a9a to your color like:

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
	margin: 0em;
	background-color: #6699CC;
	font-weight: bold;
	color: #ffffff
	height: 1%;
	width: 100%;
	}

Yours is at includes/templates/my_template/css/stylesheet.css

Added: Hello kuroi!!

Zen-Venom Get Bitten

3 Jul 2007, 9:28 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Changing color of grey bar on index page

The styles are defined from line 222 of your stylesheet which reads:> #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper

background-color:#9A9A9A; <-- change to #6699CC
font-weight:bold;
margin:0em;
width:100%;

}

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

3 Jul 2007, 9:32 PM
#4
janicem avatar

janicem

New Zenner

Join Date:
Jul 2007
Posts:
19
Plugin Contributions:
0

Re: Changing color of grey bar on index page

When I do that the whole bar disappers. I have left it for you to see. Just by changing that one number the whole bar is gone. :frusty:

3 Jul 2007, 9:36 PM
#5
janicem avatar

janicem

New Zenner

Join Date:
Jul 2007
Posts:
19
Plugin Contributions:
0

Re: Changing color of grey bar on index page

I figured it out. I was deleating the semi-colon at the end.

Thanks a bunch!

3 Jul 2007, 9:36 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Changing color of grey bar on index page

Correction deleted - as you've figured it out for yourself, always the best way!

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

3 Jul 2007, 10:35 PM
#7
janicem avatar

janicem

New Zenner

Join Date:
Jul 2007
Posts:
19
Plugin Contributions:
0

Re: Changing color of grey bar on index page

Ok, one more question then I will try and leave you alone for tonight. How do I get my logo at the top of the page centered. I tried some ideas from other posts but nothing seems to work. It wants to stay aligned left.

4 Jul 2007, 1:49 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing color of grey bar on index page

A little bit more editing; Fing these two entries and seperate them out as follows:

#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
	float: left;
	}

Edit to this:

#logo {
}

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
	float: left;
	}

And this:

#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
	margin: 0em;
	padding: 0em;
	}

To this:

#logoWrapper {
text-align: center;
}

#headerWrapper, #contentMainWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
	margin: 0em;
	padding: 0em;
	}

Zen-Venom Get Bitten

4 Jul 2007, 3:17 AM
#9
janicem avatar

janicem

New Zenner

Join Date:
Jul 2007
Posts:
19
Plugin Contributions:
0

Re: Changing color of grey bar on index page

You are my hero! I have literally been playing with that for hours. Making changes from suggestions thoughout different posts. Thank you soooooo much!

6 Jul 2007, 5:01 AM
#10
romy avatar

romy

New Zenner

Join Date:
May 2007
Location:
york, pa
Posts:
98
Plugin Contributions:
0

Re: Changing color of grey bar on index page

how do I change the gray box to a different color or an an image
my site https://www.blackfriday717.com

stylesheet

body {
margin: 0;
font-family: Arial, Verdana, Sans-Serif;
font-size: 70%;
background-image: url(../images/bg.jpg);
background-repeat: repeat-y;
background-position: center;
}

a img {border: none; }

a {
text-decoration: none;
}

a:hover {
text-decoration: none;
}

.leftBoxContainer a, .rightBoxContainer a {
font-size: 130%;

}

.leftBoxContainer a:hover, .rightBoxContainer a:hover {

}

h1 {
font-size: 1.4em;
}

h2 {
font-size: 1.3em;
}

h3 {
font-size: 1.2em;
}

h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger{
font-size: 1.0em;
}

.biggerText {
font-size: 1.1em;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Trebuchet MS', Verdana, Sans-Serif;
font-size: 175%;
font-weight: normal;
}

CODE {
font-family: arial, verdana, helvetica, sans-serif;
font-size: 1em;
}

FORM, SELECT, INPUT {
display: inline;
font-size: 1em;
margin: 0.1em;
}

input {
border: 1px solid;
}
input[type="hidden"] {
display:none;
}

TEXTAREA {
float: left;
margin: auto;
display: block;
width: 95%;
}

FIELDSET {
padding: 0.5em;
margin: 0.5em 0em;
border: 1px solid;
}

LEGEND {
font-weight: bold;
padding: 0.3em;
}

LABEL, h4.optionName {
line-height: 1.5em;
padding: 0.2em;
}

LABEL.checkboxLabel, LABEL.radioButtonLabel {
margin: 0.5em 0.3em;
}

#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: right;
}

#logo {
margin-top: 15px;
float: right;
padding-right: 20px;
visibility: hidden;
}

LABEL.inputLabel {
width: 11em;
float: left;
}

LABEL.inputLabelPayment {
width: 15em;
float: left;
}

LABEL.selectLabel, LABEL.switchedLabel, LABEL.uploadsLabel {
width: 12em;
float: left;
}

ADDRESS {
padding: 0.5em;
}

ADDRESS {
font-style: normal;
}

.clearBoth {
clear: both;
}

HR {
height: 1px;
margin-top: 0.5em;
border: none;
border-bottom: 1px solid;
}

/warnings, errors, messages/
.messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {
line-height: 1.8em;
padding: 0.2em;
border: 1px solid;
}

/wrappers - page or section containers/
#mainWrapper {
text-align: left;
width: 850px;
vertical-align: top;
}

#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;

}

#logoWrapper {
width:900px;
height:180px;
}

#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
margin: auto;
}

#tagline {
padding-top:10px;
font-size: 2em;
text-align : left;
padding-left: 300px;
vertical-align: middle;
}

#sendSpendWrapper {
border: 1px solid #cacaca;
float: right;
margin: 0em 0em 1em 1em;
}

.floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
margin: 0;
width: 47%;
}

.wrapperAttribsOptions {
margin: 0.3em 0em;
}

/navigation/

.navSplitPagesResult {}
.navSplitPagesLinks {}
.navNextPrevCounter {
margin: 0em;
font-size: 0.9em;
}
.navNextPrevList {
display: inline;
position:relative;
top:0.5em;
white-space: nowrap;
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
}

#navMainWrapper, #navSuppWrapper {
margin: 0em;
font-weight: bold;
height: 1%;
width: 100%;
}

#navCatTabsWrapper {
height:0px; }

#navCatTabsWrapper {
border-bottom:1px solid;
}

#navMain ul, #navSupp ul, #navCatTabs ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
text-align: center;
line-height: 1.5em;
}

#navMain ul li, #navSupp ul li, #navCatTabs ul li {
display: inline;
white-space: nowrap;
}

#navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
text-decoration: none;
padding: 0em 0.5em;
margin: 0;
}

#navEZPagesTOCWrapper {
font-weight: bold;
float: right;
height: 1%;
border: 1px solid;
}

#navEZPagesTOC ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
line-height: 1.5em;
}

#navEZPagesTOC ul li {
white-space: nowrap;
}

#navEZPagesTOC ul li a {
padding: 0em 0.5em;
margin: 0;
}

#navMainSearch, #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
margin: 0.5em;
}

#navBreadCrumb {
margin:1.5em 1.5em 0em;
font-size: 1.0em;
font-weight: bold;
padding: 0.3em 1.5em;
}

#navEZPagesTop {
font-size: 0.95em;
font-weight: bold;
margin: 0em;
padding: 0.5em 0 0.5em 1.5em;
}

#navColumnOne, #navColumnTwo {
}

/The main content classes/
#contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert {
vertical-align: top;
}

.content, #productDescription, .shippingEstimatorWrapper {
font-size: 1.3em;
padding: 0.5em;
font-family: 'Microsoft Sans Serif', Verdana, Sans-Serif;
}

.alert {
margin-left: 0.5em;
}
.advisory {}
.important {
font-weight: bold;
}
.notice {}
.rating{}
.gvBal {
float: right;
}
.centerColumn, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
margin:0px 0px;
padding-left: 0.8em;
padding-right: 0.8em;
padding-top:1.5em;
margin:0em 1em;
}

.smallText, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
font-size: 0.95em;
}

/Shopping Cart Display/
#cartAdd {
float: right;
text-align: center;
margin: 1em;
border: 1px solid;
padding: 1em;
}

.tableHeading TH {
border-bottom: 1px solid #cccccc;
text-align: left;
}

.tableHeading, #cartSubTotal {

 }

#cartSubTotal {
border-top: 1px solid #cccccc;
font-weight: bold;
text-align: right;
line-height: 2.2em;
padding-right: 2.5em;
}

.tableRow, .tableHeading, #cartSubTotal {
height: 2.2em;
}

.cartProductDisplay, .cartUnitDisplay, .cartTotalDisplay, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, #cartInstructionsDisplay, .cartTotalsDisplay {
padding: 0.5em 0em;
}

.cartUnitDisplay, .cartTotalDisplay {
text-align: right;
padding-right: 0.2em;
}

#scUpdateQuantity {
width: 2em;
}

.cartQuantity {
width: 4.7em;
}

.cartNewItem {
position: relative; /do not remove-fixes stupid IEbug/
}

.cartOldItem {
position: relative; /do not remove-fixes stupid IEbug/
}

.cartBoxTotal {
text-align: right;
font-weight: bold;
}

.cartRemoveItemDisplay {
width: 3.5em;
}

#cartAttribsList {
margin-left: 1em;
}

#mediaManager {
width: 50%;
margin: 0.2em;
padding: 0.5em;
}
.normalprice, .productSpecialPriceSale {
text-decoration: line-through;
}

#cartBoxListWrapper ul, #ezPageBoxList ul {
list-style-type: none;
}

#cartBoxListWrapper li, #ezPageBoxList li, .cartBoxTotal {
margin: 0;
padding: 0.2em 0em;
}

.totalBox {
width: 5.5em;
text-align: right;
padding: 0.2em;
}

.lineTitle, .amount {
text-align: right;
padding: 0.2em;
}

.amount {
width: 5.5em;
}

/Image Display/
#productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage {
margin: 0em 1em 1em 0em ;
}

.categoryIcon {}
#cartImage {
margin: 0.5em 1em;
}

/Attributes/
.attribImg {
width: 20%;
margin: 0.3em 0em;
}

.attributesComments {}

/list box contents/
.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
margin: 1em 0em;
}

/sideboxes/
.columnLeft {}

h3.leftBoxHeading, h3.rightBoxHeading {
font-family: Arial;
font-weight: bold;
}

h3.leftBoxHeading a:hover, h3.rightBoxHeading a:hover{
text-decoration: none;
}

.leftBoxHeading, .rightBoxHeading {
margin: 0em;
padding: 0.2em 0.2em;
}

.centerBoxHeading {
padding: 0.2em 0.2em;
}

.leftBoxContainer {
border: 1px solid;
margin-top: 1.5em;
margin-left: 0.2em;
margin-right: 0.2em;
}

.rightBoxContainer {
border: 1px solid;
margin-top: 1.5em;
margin-left: 0.2em;
margin-right: 0.2em;
}

.sideBoxContent {
padding: 0.35em;
}

.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
text-align: center;
}

#bestsellers .wrapper {
margin: 0em 0em 0em 1.5em;
}

#bestsellers ol {
padding: 0;
margin-left: 1.1em;
}

#bestsellers li {
padding: 0;
margin: 0.3em 0em 0.3em 0em;
}

#upProductsHeading {
text-align: left;
}

#upDateHeading {
text-align: right;
}

/misc/
.back {
float: left;
}

.forward {
float: right;
}

.bold {
font-weight: bold;
}

.rowOdd {
height: 1.5em;
vertical-align: top;
}

.rowEven {
height: 1.5em;
vertical-align: top;
}

CAPTION {
/display: none;/
}

#myAccountGen li, #myAccountNotify li {
margin: 0;
}

.accountTotalDisplay, .accountTaxDisplay {
width: 20%;
text-align: right;
/vertical-align: top/
}

.accountQuantityDisplay {
width: 10%;
vertical-align: top
}

TR.tableHeading {
height: 2em;
}

#siteMapList {
width: 90%;
float: right;
}

.ratingRow {
margin: 1em 0em 1.5em 0em;
}

LABEL#textAreaReviews {
font-weight: normal;
margin: 1em 0em;
}

.tabTable {
margin: 1em 0em;
}
.tabTable td {
padding: 0.5em 0em;
}

.navNextPrevWrapper {
margin-bottom:2em;
}

#productDescription {
clear:both;
}

table #orderHistoryDetailedOrder, table #orderHistoryStatus {
padding-top:1.5em;
}

#cartContentsDisplay tr,
#accountHistInfo tr {
vertical-align:top;
}

6 Jul 2007, 8:18 AM
#11
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Changing color of grey bar on index page

Please don't post large chunks from your stylesheet. We're not going to plough through something this big when we can see it in context on your site, and your answers not in what you've posted anyway!

You have another stylesheet called stylesheet_colors.css and from line 169 you will find the following where you can change the background color or replace it with a background image (though for consistency that shoud be done in your stylesheet.css)
read> .centerBoxHeading {

background-color:#999999;
color:#FFFFFF;

}

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)