Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / height of side boxes for lenght of text in

height of side boxes for lenght of text in

Locked

Started by giuly on 30 Jan 2009, 1:21 PM · Views: 1,989

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
30 Jan 2009, 1:21 PM
#1
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #1 by giuly

Hello I would to insert a long text in header of sideboxes, how can I do in way that the height of sideboxe was justified?

I try to insert text but it is like a duplicate of image of sidebox

:blink:
thank you in adnvance

30 Jan 2009, 2:44 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,758
Plugin Contributions:
0

Post #2 by Kim

Your URL with the problem?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

30 Jan 2009, 7:35 PM
#3
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #3 by giuly

is a demo url, i am doing the restyle of my site
hxxp://www.giocattoliamo.it/demosugar/index.php?main_page=index&language=it

1 Feb 2009, 7:18 PM
#4
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #4 by giuly

now I have changed but the problem is that if I insert a long text in header box it creates a wrong header box, like the fact that background was duplicate.

Does not exist a way to justificate the text in header box?

1 Feb 2009, 7:50 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #5 by gjh42

This is going to happen if you use a heading background image which has a specific height.

You can make a different background image which is taller, so that when the heading gets taller, the background still fills it without repeating vertically; or you can add
background-repeat: repeat-x;
background-color: #aabbcc;
to
.leftBoxHeading, .rightBoxHeading {}

Make the color blend with the bottom edge of the image, so that it looks like the image continues down without a break.

1 Feb 2009, 9:18 PM
#6
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #6 by giuly

no I don't use backround image,
if I write text in box header for example
text mode to see if the site goes it is too long and so it exeec the head of side boxe

if you have some idea...please

1 Feb 2009, 9:49 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #7 by gjh42

The site you give is using heading background images.

If you mean that the text sticks out on the sides of the box when it is too long, that will happen with a single word because there is no place for it to break and go to the next line.

It would help if you can make one of the headings misbehave as you are describing, and then let us know so we can look at it live.
If you can't do that, a screenshot might be helpful.

1 Feb 2009, 10:03 PM
#8
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #8 by giuly

now you can see, then within tomorrow I have to delete, so if you can before you do at me a courtesy

hxxp://www.giocattoliamo.it/demosugar/

the text is
Marchi Giocattoli per fare vedere la prova che non va adesso vedete can you see?

thank you in advance
:smile:

1 Feb 2009, 10:28 PM
#9
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #9 by giuly

ok the screenshot

1 Feb 2009, 10:58 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #10 by gjh42

Yes, that is exactly what I was talking about with the background image.

To fix this, you will have to follow one of the methods I described in post 5 - either make the background image taller, or stop it from repeating vertically and add a background color to match it..

1 Feb 2009, 11:15 PM
#11
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #11 by giuly

thanks I didn't understand very well cause my language (i'm italian), but within tomorrow I will try.

If I understand more or less or I add an image that is height in way to contain my text and in this way I solve my problem?
it is correct?

sorry and thank you you are really gentle :smile:

1 Feb 2009, 11:20 PM
#13
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Post #13 by giuly

ok thank you very much :yes: