Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / Change colour of 'sponsors' side box / enable 'featured' side box

Change colour of 'sponsors' side box / enable 'featured' side box

Locked

Started by flatlander on 22 May 2008, 8:34 AM · Views: 4,807

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
22 May 2008, 8:34 AM
#1
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Change colour of 'sponsors' side box / enable 'featured' side box

Hi,

I have changed the colours of all the left side boxes, however when I enable the 'sponsors' one it is blue. I cannot seem to find where it is in CSS to change it. Can anyone help?

Thought it was this, but it does not help if I change it:

#bannerboxHeading {
background-color: #0000CC;}

Also, on the issue of these side boxes, I have enabled the 'featured' side box in admin, but it won't appear on the site for some reason. Any idea why this may be?

Thanks

22 May 2008, 9:46 AM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Do you have a background image set for that sidebox header perhaps?

If you want the featured products box to display, you have to have set up some products to "be featured". Have you done this yet?

23 May 2008, 5:03 AM
#3
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Hi,

Since I posted I spotted that I needed to put products in first before it appears, but thanks.

Regarding the banner box, no I'm sure I don't have a background image set (if you mean the same as what you have to do for the bar at the very top in order to change it - and don't think I've ever set anything to a blue colour like that either).

The site is **https://www.leathereden.com **if having a look helps.

All the other side boxes appear ok, so can't see why this one doesn't. I assume its something to do with banner boxes working differently.

Thanks

23 May 2008, 8:35 PM
#4
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Hi, in your stylesheet find this section:

#bannerboxHeading {
    background-color: #0000CC;
}
```And change the color to your desired color :D

*edit, I just re-read your first post LOL....and that section *should* change it....lemme go stickybeak again LOL

**edit again, try deleting that declaration entirely or commenting it out, the bannerboxHeading one and see if it let's the sidebox header declaration take place instead?

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

24 May 2008, 6:52 AM
#5
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Hi,

I just tried completely deleting that section, and it is still the same. Doesn't seem to make sence to me as how can it still show as blue if I've completely deleted the command??

Only logical answer would be that I was amending the wrong CSS stylesheet, but I've checked and its based on the mytemplate one I created and thats the one I'm changing.

Any more ideas?

Thanks

24 May 2008, 7:03 AM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Change colour of 'sponsors' side box / enable 'featured' side box

#bannerboxHeading {
 background-color: #0000CC;
        }

Is still showing in your stylesheet..
i.e.
includes/templates/mytemplate/css/stylesheet.css..
alter hex code, marked red, to change colour..
:smile:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

24 May 2008, 7:08 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,898
Plugin Contributions:
22

Re: Change colour of 'sponsors' side box / enable 'featured' side box

flatlander,
That call at line 585 of your stylesheet was obviously added at some point. If you remove all of the call for #bannerboxHeading, the previous call at line 530 for leftBoxHeading will set the color you want automatically.

Also, do you have anything in leather?:smartalec:

It looks like someone might have told you that mentioning leather every chance you get might raise your standing in the search engines. This is commonly called "seeding" and will get you lowered in rank as soon as the search engine moderators catch it. Your first paragraph lists leather five times, handbags three, etc. And, your metatags for the main page list many items that are not there. Customers are frustrated when they click on a search engine link to leather messenger bag and find themselves at a main page still having to click on the leather messenger bags to find one.
Didn't mean to turn this into a site review but, I thought you might want to know.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

25 May 2008, 1:16 PM
#8
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Hi,

Just tried again deleting the line at 585, and then changing the line just under 530 to the colour I want, and still no joy. Think I may have to email the zen cart help desk on this one.

Don't mind the advice dbltoe on the website. Anything is useful. You're right I did put in leather as much as possible - didn't realise this could go against you so probably change it. Also thought it best to get all the meta tags in wherever possible. I'm not so sure customers will mind too much if say they look for messenger bags and go to the home page as I think the sites fairly simple so its easy to then see where to go for messenger bags.

I tend to prefer to go to a home page so I can see what the sites about as long as its easy to then find what you want. Though I guess its personal preference and you may be right most people would like to go to direct and I can see thats more logical so may change it (when I get round to it!).

Thanks

25 May 2008, 1:33 PM
#9
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Actually I've seen that the writing behind the sideboxes has now disappeared! Obviously what I did previously has affected this for some reason. Put it back to how it was so not sure why. Could someone let me know where I need to amend it?

Thanks again,

25 May 2008, 5:16 PM
#10
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,898
Plugin Contributions:
22

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Your code is now at line 586 but, in case it doesn't show the same number for you...
changephp #bannerboxHeading { background-color: #0000CC; } to```php
#bannerboxHeading {
/background-color: #0000CC;/
}

and the color will be what you want.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

26 May 2008, 5:26 AM
#11
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

I tried making that change:

#bannerboxHeading {	
              /*background-color: #999933;*/        
                 }

Putting in the colour I want, but stilll no change - is that what you meant?

I also triend this:

#bannerboxHeading {	
              /*background-color: #0000CC;*/        
                 }

and then at line 533 changing it to 999933, as not sure if that is what you meant, but still the same.

Thanks

26 May 2008, 5:48 AM
#12
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Which stylesheet are you editing?
Current stylesheet for your template
i.e.

http://leathereden.com/includes/templates/mytemplate/css/stylesheet.css
is still showing

#bannerboxHeading {
 background-color: #0000CC;
        }

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

26 May 2008, 5:53 AM
#13
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Hi,

I'm using the 'mytemplate' one (I switched it back to 0000CC as soon as I"d tested it so as not to forget how it was originally).

26 May 2008, 6:04 AM
#14
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,898
Plugin Contributions:
22

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Take the attached file, unzip it and upload it to your includes/templates/mytemplate/css folder.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

27 May 2008, 8:03 AM
#15
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

sorry, not sure what you mean by this. Do I just need to create a file in the css folder and copy and paste that language in? And what do I call the file? I'm guessing I'm barking up the wrong tree there.

Also, how does it fit in with the problem I'm having with the colour?

Thanks

27 May 2008, 2:00 PM
#16
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,898
Plugin Contributions:
22

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Misty and I have been trying to get you to change your stylesheet.css located in the includes/templates/mytemplates/css folder. For some reason, you are having a problem with that. I don't know if you are doing several changes at once, not refreshing your browser when you look at the changes, changing the wrong file, or what it is.

The simplest fix is to tdownload zip file above, unzip it (it will be called stylesheet.css), and use an FTP program to upload the file to the includes/templates/mytemplate/css directory on your site.

This will overwrite the existing file and correct your color problem.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

27 May 2008, 2:14 PM
#17
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Pretty sure I've been doing everything correctly with regard to changing the css file. Made a lot of change to it in the past that were ok, and not doing it any different now.

Thats why I'm baffled as to why its not changing when I make the change that everyone seems to think is the correct one and the one I thought it was originally before I posted.

Not done uploading files by FTP yet, so have to look into how to do it first.

Guess I'll get to the bottom of it eventually!

Thanks

29 May 2008, 6:17 AM
#18
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Tried doing the same thing one more time yesterday and it worked! This time I completely shut down cpanel file manager afterwards. Maybe it had been a delay in the server or something (I've uploaded photos before and they've not appeared till later on).

Thanks anyway for everyones assistance. Have to be more patient next time.

29 May 2008, 6:26 AM
#19
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,898
Plugin Contributions:
22

Re: Change colour of 'sponsors' side box / enable 'featured' side box

Glad you got it going.:clap:

If using firefox, you might want to get the clear cache add-on. Just click on it each time you make a change to make sure you don't have the old version lurking in the browser cache.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com