Forums / Templates, Stylesheets, Page Layout / Can EZ pages header be over 2 lines?

Can EZ pages header be over 2 lines?

Views: 1,403

Results 1 to 10 of 10
24 Apr 2011, 3:03 AM
#1
annedig avatar

annedig

New Zenner

Join Date:
Feb 2010
Posts:
22
Plugin Contributions:
0

Can EZ pages header be over 2 lines?

Hi,
I'm using version 1.3.9d.
Is there a way of putting the EZ page header on 2 lines

ie:
:: Contact ::
____Us

I've tried putting </br> and <p> but that splits the whole header.
Thanks.

24 Apr 2011, 3:17 AM
#2
zhyltd avatar

zhyltd

New Zenner

Join Date:
Apr 2011
Posts:
1
Plugin Contributions:
0

Re: Can EZ pages header be over 2 lines?

use the tool-ezpage

24 Apr 2011, 10:43 AM
#3
annedig avatar

annedig

New Zenner

Join Date:
Feb 2010
Posts:
22
Plugin Contributions:
0

Re: Can EZ pages header be over 2 lines?

Sorry,
I don't understand what you mean.

24 Apr 2011, 11:18 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Can EZ pages header be over 2 lines?

I'm not sure what you're asking. If I put <br/> between the two words in my EZ pages sidebox header, it places each of the words on its own line, which seems to be what you want.

25 Apr 2011, 12:24 AM
#5
annedig avatar

annedig

New Zenner

Join Date:
Feb 2010
Posts:
22
Plugin Contributions:
0

Re: Can EZ pages header be over 2 lines?

Thanks, but my EZ pages are in the Header and a </br> splits the rest of the headers onto the next line not just the title of 1 ez page.

25 Apr 2011, 12:32 AM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Can EZ pages header be over 2 lines?

Please post the url to your web site please or just PM it to me..and put the <br /> in one ez-page for me so I can see this problem.. > I can not duplicate this on my test site

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 Apr 2011, 2:27 AM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Can EZ pages header be over 2 lines?

Thanks for the PM, sorry to say I am stumped.. Another Zenner hopefully will read to find a answer for you..

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 Apr 2011, 2:36 AM
#8
gjh42 avatar

gjh42

Black Belt

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

Re: Can EZ pages header be over 2 lines?

If you set a maximum width (or just width) for the link that is less than the two words require, the second word should wrap down. You might also need to remove a word-wrap property from some rule... I would need to see it live to know exactly how to solve the problem for your site.

25 Apr 2011, 3:53 AM
#9
annedig avatar

annedig

New Zenner

Join Date:
Feb 2010
Posts:
22
Plugin Contributions:
0

Re: Can EZ pages header be over 2 lines?

Thanks,
The url is https://www.digbyhealth.com. You'll see the </br> is before @ Kew so it splits to be centered on the next line. If I put a </br> btw contact and us then us would be centered on the third line.

I'll try changing the width but that won't really work because some of the words to split are shorter than some of the words to not wrap (ie About Anne - to wrap and Testimonials to not wrap)

25 Apr 2011, 5:11 AM
#10
gjh42 avatar

gjh42

Black Belt

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

Re: Can EZ pages header be over 2 lines?

You can tailor which links to wrap by using specific selectors in a rule. The difficulty is that inline elements like the standard <a> links here cannot accept a width property, and making them display: block; and float: left; makes them all sit to the left of all of the :: separators. That does allow the width property to have the desired effect, though, so if you can get by without those separators, you can set them to nothing in admin > Configuration > EZ-Pages Settings > EZ-Pages Header Link Separator, and use rules like these:```
#navEZPagesTop a {display: block; float: left;}

#navEZPagesTop a+a+a+a+a+a+a {width: 8em;}

#navEZPagesTop a+a+a+a+a+a+a+a {width: auto;}

and if you want a separator```
#navEZPagesTop a+a {border-left: 1px solid #aabbcc;}