Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Customized sideboxes for categories

Customized sideboxes for categories

Locked

Views: 2,387

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
6 Apr 2007, 2:04 AM
#1
dale_thomas avatar

dale_thomas

New Zenner

Join Date:
Feb 2007
Posts:
24
Plugin Contributions:
0

Customized sideboxes for categories

I am sure there must be a thread on it somewhere but I can't see to find it.

I would like to add customized sideboxes that display static information. I would like specific sideboxes to show based on category.

Can someone tell me how to do this? Or point me to a similar thread?

Thanks

6 Apr 2007, 5:34 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Customized sideboxes for categories

you can get the blank sidebox or about us sidebox in the downloads/sideboxes area and make as many as you want

Each will then have a tag(#box name) and in the css by page (see the read me in the /css folder) you can use #box name { display: none; }

8 Apr 2007, 4:41 PM
#3
dale_thomas avatar

dale_thomas

New Zenner

Join Date:
Feb 2007
Posts:
24
Plugin Contributions:
0

Re: Customized sideboxes for categories

I understand CSS but I am not understanding this statement. Can you explain? Especially "tag(#box name) ".

"Each will then have a tag(#box name) and in the css by page (see the read me in the /css folder) you can use #box name { display: none; }"

8 Apr 2007, 7:01 PM
#4
dale_thomas avatar

dale_thomas

New Zenner

Join Date:
Feb 2007
Posts:
24
Plugin Contributions:
0

Re: Customized sideboxes for categories

OK I also read this thread:
http://www.zen-cart.com/forum/showthread.php?t=44848&highlight=page_name

I am confused in a couple of areas:

Is there an actual css file named page_name? Or do I create one for the products page?
page_name.css // changes to one page

c_??_??.css // changes to all info pages in a category
Also, if I used this file for the category would I name it c_3.css if my cpath was "3" for example?
http://www.mydomain.com/index.php?main_page=index&cPath=3
And do I just place these new CSS files in the /includes/templates/template_default/css/ directory?
Sorry to be asking such simple questions... I am just new to Zen Cart.
Thanks

9 Apr 2007, 1:13 AM
#5
kobra avatar

kobra

Black Belt

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

Re: Customized sideboxes for categories

Is there an actual css file named page_name? Or do I create one for the products page?You need to create this page and name it accordlingly
Also, if I used this file for the category would I name it c_3.css if my cpath was "3" for example? http://www.mydomain.com/index.php?ma...=index&cPath=3Yes that is correct...
And do I just place these new CSS files in the includes/templates/template_default/css/ directory?
No, not templates/template_default/css. You should be creating your own "named" template for several reasons and this is in the FAQ's...it woul be along the line of

templates/What_ever_you_name_your_template/css

10 Apr 2007, 8:52 PM
#6
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Re: Customized sideboxes for categories

Hi

i am trying to customize my main page , i like what this guy did http://www.digitaleyours.com/
i am not trying to make a major change, just basic stuff, like spacing line with dot next to catagory names , apply some color to main, etc...

i could not fine any where my main page to make the changes,

my site www.tiledepot.us/store

as you see i made some changes , but i like to do more

thank you

10 Apr 2007, 10:21 PM
#7
kobra avatar

kobra

Black Belt

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

Re: Customized sideboxes for categories

Some of this is in admin > config > layout settings > Categories Separator between the Category Name and Sub Categories > |_ 

Where the pipe and underscore are by default used and a space you can use what you prefer.

For the cat prefix you might need the "better categories" module installed

11 Apr 2007, 5:37 AM
#8
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Re: Customized sideboxes for categories

this is you agian kobra

where ever i go you their :smile: and alwyes ready to help

yes i know abut some of the admin , but like adding the dot in front of a word changing the color of text, i even post another thread in rgard errors in main page and where can i find the main page html page

any where i can find it?

thank you

11 Apr 2007, 6:07 AM
#9
kobra avatar

kobra

Black Belt

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

Re: Customized sideboxes for categories

in main page and where can i find the main page html page

any where i can find it?
As this is dynamically created - there is not a html page per se - or as one normally thinks of a page. I will look to see if you provided more information about your issue in your other post

12 Apr 2007, 9:01 AM
#10
tolefairy avatar

tolefairy

Zen Follower

Join Date:
Feb 2007
Location:
West Texas
Posts:
122
Plugin Contributions:
0

Re: Customized sideboxes for categories

I opted to do as Kobra suggested in one of his posts and got the "blank_box" contrib fromt the download section.

I just finished it and it did exactly what I wanted. I do not particularly need my categories to be dynamic and I can change them as needed myself.

I still have more work to do, but that part sure was easy!

12 Apr 2007, 2:25 PM
#11
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Re: Customized sideboxes for categories

kobra:

As this is dynamically created - there is not a html page per se - or as one normally thinks of a page. I will look to see if you provided more information about your issue in your other post

ohh ok i got it, so their is no web page.

in that case what i want to do is somthing like take the catagory lines and make like 3 or main catagory (boxes or not boxes) change the color of the main catgory to be diffrend from the sub catgory

for example make 1 ( main) catgory called Tile 2. Tools 3. unique item , can i have under each one sub category to act same as now?

also i like to put background color for the all page like this link http://(sorry, site offline)/137/index.php?main_page=index&template_dir=sophybluegr

p.s i do like this template , after looking at other i deside not to change the template

if you can just direct me to help section where it can be done , i think i am in stege now that i can do it. lol
thx again:smile:

12 Apr 2007, 4:51 PM
#12
kobra avatar

kobra

Black Belt

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

Re: Customized sideboxes for categories

in that case what i want to do is somthing like take the catagory lines and make like 3 or main catagory (boxes or not boxes) change the color of the main catgory to be diffrend from the sub catgory
Need a url to your site to see what you have and what you want

13 Apr 2007, 12:35 PM
#13
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Re: Customized sideboxes for categories

kobra:

Need a url to your site to see what you have and what you want

oops i ussuly add my site

www.tiledepot.us/store

thir is this site i realy like if i can get some tips how get smiliar look will be nice , http://mysticmountainnaturals.com/index.php

even just few tips on how to start and i keep changing as i go

13 Apr 2007, 8:20 PM
#14
kobra avatar

kobra

Black Belt

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

Re: Customized sideboxes for categories

Motti,

You are all over the board on this??? Too many other sites that you like that are different....

also i like to put background color for the all page like this link
For the background color in your stylesheet.css file find this and change the color to one that you like

body {
	margin: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 62.5%;
	color: #000000;
	background-color: #e5edf5;
	}
14 Apr 2007, 6:01 PM
#15
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Re: Customized sideboxes for categories

kobra:

Motti,

You are all over the board on this??? Too many other sites that you like that are different....

For the background color in your stylesheet.css file find this and change the color to one that you like

body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000000;
background-color: #e5edf5;
}

 
*Smiling  
yes i am all over i know  (sorry)
 
just i like this zen cart , a the begining i was scare  but as i go along i find it possible for myself to make it ( with help of this board)  i want to do lots of think , and i will do it 1 step at the time. every time i am able to change somthing  i want to do more. 
 
thx kobra for that help  and for other ones,  (    how and where can i chose colors? )background-color: #e5edf5;  :smile: 
 
thx alot
14 Apr 2007, 8:06 PM
#16
kobra avatar

kobra

Black Belt

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

Re: Customized sideboxes for categories

There are many color charts, calculators, and interactive JS color displayers on the net...just google for html color selection