Forums / Templates, Stylesheets, Page Layout / Logo on the left side top instead of categories

Logo on the left side top instead of categories

Locked

Views: 2,833

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
15 Nov 2006, 5:25 PM
#1
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Logo on the left side top instead of categories

Hi,
is it possible to have a *.jpg file on the place of categorie box? (categorie box should be one part down)
How can i do this?

thank you

Gerd

16 Nov 2006, 1:16 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Logo on the left side top instead of categories

If I am understanding what you want...an image for the sidebox heading...if for all left boxes...place your image in includes/templates/your_template/images folder and then find this is your stylesheet.css file

.leftBoxHeading, .centerBoxHeading {
	margin: 0em;
	background-color: #FF6699;
	padding: 0.5em 0.2em;
	}
```And separate and change to this

.leftBoxHeading {
margin: 0em;
background-image: url(..images/your_image.jpg(gif);
background-color: #FFFFFF;
padding: 0.5em 0.2em;
}
.centerBoxHeading {
margin: 0em;
background-color: #FF6699;
padding: 0.5em 0.2em;
}

If just for the categories box...do the same for the image and add this to the stylesheet.css

#categoriesHeading {
margin: 0em;
background-image: url(..images/your_image.jpg(gif);
background-color: #FFFFFF;
padding: 0.5em 0.2em;
}

Zen-Venom Get Bitten

16 Nov 2006, 2:04 AM
#3
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Re: Logo on the left side top instead of categories

Hi,
many thanks for your description but i does not want to change the background color of the Box heading with an image.
I want to put all left boxes 150px down. In this place of 150px x 180px i want to put an image.
Sorry for my bad english - Is it possible what i want to do?

Many thanks for your answer
Gerd

16 Nov 2006, 3:23 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo on the left side top instead of categories

Take a look at my test site here: http://mysticmountainnaturals.com/testsite/

The 1st sidebox on the left might be what you want. If so, let me know and I'll give you instructions on setting it up.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

16 Nov 2006, 3:57 PM
#5
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Re: Logo on the left side top instead of categories

Hi,
without the headline it is exactly what i want. If you could give me the instructiones would be very nice.

Thank you

Gerd

16 Nov 2006, 11:47 PM
#6
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo on the left side top instead of categories

Here's the mod.

Just unzip, upload add add the css changes in the readme to your stylesheet.css

go to admin -> tools -> layout box controller and activate the new sidebox.

[Attachment no longer available]

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

17 Nov 2006, 2:21 AM
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo on the left side top instead of categories

:ohmy: Sorry, I forgot to mention in my last post.

Create your logo using an image editor (make sure the width will fit within the sidebox. 125px is usually a good width.)

upload the file to includes -> templates -> template_default -> images.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

17 Nov 2006, 2:31 AM
#8
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Re: Logo on the left side top instead of categories

Hi,
absolutly great, i can not belief that, many many thanks ....
After i put logo_sidebox_defines.php in german/extra_definitions on the left side of my side top looks "My logo".

Where i have to store the my logo file? (same name as in logo_sidebox_defines.php)

I tried some place but my side schows only the text "My logo"

once more many thanks

Gerd

17 Nov 2006, 2:59 AM
#9
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Re: Logo on the left side top instead of categories

Hi,
problem is solved. The Logo looks on my side.
On top of the logo is a 3 mm border may be the rest of heading background.???

Do you hava an Idea?

many thanks

Gerd

17 Nov 2006, 3:25 AM
#10
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo on the left side top instead of categories

Do you have a URL for the site so I can take a look.

The CSS stuff I gave you should have eliminated all the borders.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

17 Nov 2006, 7:57 AM
#11
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Re: Logo on the left side top instead of categories

Hi,
the Url: https://www.wasser-salz-licht.de/wsl

In the meantime i think it could be nice, if the motto (Drei Dinge braucht der Mensch... ) stands in a headline on top of the logo, if it is possible.

I don´t want to ask you for solving all my problems. I want to learn to solve it myself. But it is very good to know that if i have no idea, see no way to solve a problem, that there is a man i can ask.

Many thanks

Gerd

17 Nov 2006, 8:25 AM
#12
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo on the left side top instead of categories

Darf Ich fragen warum sie 2 stylesheets benutzed haben?

The motto might be a bit long to fit as a header above the logo.

You can easily add it to the define statement in includes -> languages -> YOUR_LANGUAGE -> extra_definitions -> logo_sidebox_defines.php

define('BOX_HEADING_LOGO_SIDEBOX', 'Drei Dinge braucht der Mensch... ');

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

17 Nov 2006, 9:02 AM
#13
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Re: Logo on the left side top instead of categories

Hi,
natürlich dürfen Sie fragen

May be you don´t believe it - i don´t know that i use two stylesheets.
??????????????????????????????????????????????????????????????????

many thanks

Gerd

17 Nov 2006, 3:07 PM
#14
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo on the left side top instead of categories

Gerd,

Yeah, I check your site you have one stylesheet called stylesheet-versteckt.css and one called stylesheet.css

As far as I can tell they are both the same and could interfere with each other when getting information for the styling of the site.

You might consider dropping one of them.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

17 Nov 2006, 3:42 PM
#15
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo on the left side top instead of categories

You also have quite a few <br> calls that should be corrected to read <br />

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

18 Nov 2006, 8:17 AM
#16
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Re: Logo on the left side top instead of categories

Hi Clyde,

i take the stylesheet-versteckt.css away. But i am nearly sure that i did not install it. How can this happen?
<br> i allways used this form - what is the difference to <br/>?
(Zencart self made the changes to <br/>)
What programm do you use to see that, because i see it only in the admin-modus. in this way i would need days for checking that.

Thank you for checking my Shop.

Gerd

18 Nov 2006, 8:32 AM
#17
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo on the left side top instead of categories

<br> is an unclosed tag while <br /> is a closed.

<br> is not XHTML standards compliant.

If you do a validation you will get errors so it is much better to use the correct tag.

same goes of <hr />.

I did a view source of the site in my browser.

You should be able to just do a search and replace for <br> and replace with <br />

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

20 Nov 2006, 8:53 AM
#18
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Re: Logo on the left side top instead of categories

Hi,
anather problem - I want to put away the dropdown menue product listing. (A,B,C,...)
I got away the heading but not the dropdown.

Can anyone give me a tip?

20 Nov 2006, 9:16 AM
#19
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Re: Logo on the left side top instead of categories

Hi,
problem solved.

The way i solved:

  1. admin
  2. config
  3. artikel list
  4. include product listing alpha sorter dropdown - false

my be someone need it

Gerd