Zen Cart Logo
Forums / Basic Configuration / Align Left or center Ezpage content

Align Left or center Ezpage content

Locked

Views: 1,826

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Mar 2009, 23:09
#1
wagnerguy avatar

wagnerguy

Zen Follower

Join Date:
Aug 2008
Posts:
334
Plugin Contributions:
0

Align Left or center Ezpage content

Hello all, I am just learning to use my ezpages. I want to add some links. But they displayed as one line.

How do i show each link on a seperate line and right or center align

please see the link

12 Mar 2009, 03:01
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Align Left or center Ezpage content

maybe im blind , but where is your EZpages link ? you only have them on footer. :unsure:

12 Mar 2009, 03:40
#3
wagnerguy avatar

wagnerguy

Zen Follower

Join Date:
Aug 2008
Posts:
334
Plugin Contributions:
0

Re: Align Left or center Ezpage content

tony_sar:

maybe im blind , but where is your EZpages link ? you only have them on footer. :unsure:

It the page (our Partner) it the link is directed to, i developed it using the easy pages. the text is aligned as sentence.

12 Mar 2009, 04:24
#4
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Align Left or center Ezpage content

important link side box has inline style . the only way i can see is to override tpl_ezpages.php located in sidebox folder . then open in text editor

and add additional style element to ul tag.

'<ul style="margin: 0; padding: 0; list-style-type: none; text-align: center;">'

you can also replace the style with class

'<ul style="EZinfo">'
then create this rule in your stylesheet.css

.EZinfo {
list-style-type:none;
padding:0;
text-align:center;
}

i like using class, because i can have more control over style , and i can change things without opening and closing php files.

thats all i know on how to do this, but others might have different ways

31 May 2009, 15:37
#5
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: Align Left or center Ezpage content

How do I end the style to only center a paragraph? I tried </style> but that didn't work.

31 May 2009, 15:39
#6
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: Align Left or center Ezpage content

Found it I used </ul style>