Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Centralising theWould You like to log yourself in?and Welcome to the

Centralising theWould You like to log yourself in?and Welcome to the

Started by dochsa on 5 Sep 2012, 9:17 AM · Views: 844

Results 1 to 9 of 9
5 Sep 2012, 9:17 AM
#1
dochsa avatar

dochsa

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
62
Plugin Contributions:
0

Post #1 by dochsa

Hi All

I have scoured the forums to find hojw I do this in v1.5. Welcome to the AsSceneOn.com Store! and Would You like to log yourself in? and Im not able to fins anything that specifically mentions these.

Can you help?

5 Sep 2012, 9:55 AM
#2
stevesh avatar

stevesh

Black Belt

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

Post #2 by stevesh

Add to your stylesheet:

.greeting {text-align: center;}

5 Sep 2012, 10:38 AM
#3
dochsa avatar

dochsa

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
62
Plugin Contributions:
0

Post #3 by dochsa

Hi I have Cherry Zen in stalled so do I add it to the css?

Is it this:

This is line 231 of the stylesheet cherry_zen

  • {
    margin:0;
    padding:0;
    }
    body {
    font-family: "Lucida Grande", tahoma, verdana, arial, helvetica, sans-serif;
    font-size:73.5%;
    margin-top:20px;
    }
    a img {
    border:none;
    }
    ul, ol {
    text-align:left;
    padding-left:25px;
    margin:0 0 10px 10px;

Change the text align to center?

5 Sep 2012, 11:54 AM
#4
stevesh avatar

stevesh

Black Belt

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

Post #4 by stevesh

Just add the rule I mentioned to the bottom of that stylesheet.

5 Sep 2012, 12:01 PM
#5
dochsa avatar

dochsa

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
62
Plugin Contributions:
0

Post #5 by dochsa

Hi Stevesh

Hope this is not a thick questions so all I do is open my includes/templates/cherry_zen/css/stylesheet

and on the bottom add this:

.greeting {text-align: center;}

Is this like this:

#productMainImage img {
display: block;
position: relative;
background: #fff;
margin: -3px 6px 6px -3px;
border: 1px solid #a9a9a9; /* defines the border for the product image. To remove the border delete or comment out this line, AND padding: 4px; below /
padding: 4px;
}
/
end css for product image drop shadow */

.greeting {text-align: center;}

5 Sep 2012, 1:41 PM
#6
stevesh avatar

stevesh

Black Belt

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

Post #6 by stevesh

Yes. In the future, just try the addition. You can always remove it if it doesn't work. Also, the Web Developer addon for the Firefox browser will allow you to make additions to the stylesheet to see if they work without changing anything permanently.

6 Sep 2012, 2:29 PM
#7
dochsa avatar

dochsa

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
62
Plugin Contributions:
0

Post #7 by dochsa

Hi Stevesh

Thanks for the help, that worked but now the Welcome to the AsSceneOn.com Store! is still aligned left? I get what you mean about trying I normally do but yesterday was a tough day... many things went wrong and I just needed some assurance... Only new at this so glad we have wornderful resources like you...

Any help as always appreciated.

Dono

8 Sep 2012, 8:18 AM
#8
dochsa avatar

dochsa

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
62
Plugin Contributions:
0

Post #8 by dochsa

Hi Stevesh, would this work to Center the welcome to the assceneon store? As I've tried using it as you suggested and no luck at all. Any help appreciated.

8 Sep 2012, 9:48 AM
#9
stevesh avatar

stevesh

Black Belt

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

Post #9 by stevesh

Anytime you want to put text in a stylesheet, it has to be commented. Add the red parts or remove the text and this will work:

/ Add this to stylesheet/
#indexDefaultHeading {
text-align: center;
}