Forums / Templates, Stylesheets, Page Layout / Removal of Welcome text top of page

Removal of Welcome text top of page

Locked

Started by bruce1952 on 2 Feb 2009, 8:16 AM · Views: 2,274

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
2 Feb 2009, 8:16 AM
#1
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Removal of Welcome text top of page

Hi all,

Having problems removing the welcome message on the page. Can someone put me in the right direction as I have been looking for days and unable to find it.

Any help would be appreciated.

Outdoorking
Live Site https://www.outdoorking.com.au

2 Feb 2009, 8:18 AM
#2
haredo avatar

haredo

Totally Zenned

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

Re: Removal of Welcome text top of page

Bruce1952:

Hi all,

Having problems removing the welcome message on the page. Can someone put me in the right direction as I have been looking for days and unable to find it.

Any help would be appreciated.

Br,
Did you scour the Faq/tutorials at the top of this page, and search for welcome

If Not....

https://www.zen-cart.com/tutorials/index.php?article=128

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.

2 Feb 2009, 8:45 AM
#3
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Removal of Welcome text top of page

haredo thanks for your help it worked a treat but I have one other problem which I am hoping that you can help with and that is the date that is in the top bar I would like to be able to centre it.

Outdoorking
Live Site https://www.outdoorking.com.au

2 Feb 2009, 9:08 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Removal of Welcome text top of page

There isn't normally a date in the top section of the site and your screenshot is too small to read. Do you have a link to the site?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

2 Feb 2009, 9:20 AM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Removal of Welcome text top of page

That's most likely been added to your includes/templates/glacial_age/common/tpl_header.php file. Look for <div class="date">

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

2 Feb 2009, 10:02 AM
#7
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Removal of Welcome text top of page

Ok kuroi found it and this is what it shows:

</ul> <div class="date"><?php echo strftime(DATE_FORMAT_LONG);?></div>

Do you know what code I need to put in place of the </ul> in order to centre the date. I did try using <centre> in place of the </ul> but no change in location.

Outdoorking
Live Site https://www.outdoorking.com.au

2 Feb 2009, 1:46 PM
#8
stevesh avatar

stevesh

Black Belt

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

Re: Removal of Welcome text top of page

Get rid of all the floats and margins in .date in your stylesheet. That will leave you with:

.date {
color: #000;
font-weight: bold;
font-size: 1.2em;
line-height:normal;
}

That will center it roughly. Then add margin or padding to put it exactly where you want it.

2 Feb 2009, 8:57 PM
#9
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Removal of Welcome text top of page

stevesh:

Get rid of all the floats and margins in .date in your stylesheet. That will leave you with:

.date {
color: #000;
font-weight: bold;
font-size: 1.2em;
line-height:normal;
}

That will center it roughly. Then add margin or padding to put it exactly where you want it.

Changed it as you said but it will not move even if I put this in:
.date {
margin:50;
color: #000;
font-weight: bold;
font-size: 1.2em;
line-height:normal;

No movement at all with the date. This is the old date setup:

.date {
margin-right: 50px;
padding-top:2px;
padding-right: 5px;
float: right;
color: #000;
font-weight: bold;
text-align: right;
font-size: 1.2em;
line-height:normal;
}

Thanks for your help.

Outdoorking
Live Site https://www.outdoorking.com.au

3 Feb 2009, 1:42 PM
#10
stevesh avatar

stevesh

Black Belt

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

Re: Removal of Welcome text top of page

You'll need to specify the units - 50px or some number of em.

5 Feb 2009, 12:27 PM
#11
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Removal of Welcome text top of page

stevesh tried what you said but no change at all to the location as it still stays to the right side.

Outdoorking
Live Site https://www.outdoorking.com.au

5 Feb 2009, 1:32 PM
#12
stevesh avatar

stevesh

Black Belt

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

Re: Removal of Welcome text top of page

First, you can't have both new and old stylesheets with the .css extension in the CSS folder.

Zencart will load both, and they'll fight. Rename the old stylesheet to stylesheet.old or move it to another place.

It seems to be centered in FF3, but not in IE7. Also, in FF, I see Shopping Cart, My Account and Contact Us buttons on the right, but not in IE.

5 Feb 2009, 8:53 PM
#13
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Removal of Welcome text top of page

This is what is in the ie stylesheet.css:

/**

  • Main CSS Stylesheet
  • @package templateSystem
  • @copyright Copyright 2003-2007 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  • @version $Id: stylesheet.css 5952 2007-03-03 06:18:46Z drbyte $
    */

#taglineWrapper {
/margin: 0;/
position: absolute;
top: 20px;
left: 250px;
width: 360px;
}
#tagline {
color:#000;
font-size: 2em;
text-align: center;
vertical-align: middle;
line-height:normal;
}
.date {
margin-right: 50px;
padding:2px 0;
float: right;
color: #000;
font-weight: bold;
text-align: right;
font-size: 1.2em;
line-height:normal;
}

.centerColumn {
margin: 0;
padding: .8em .8em 0 .8em;
font-size: 1.2em;
height:1%;
position: relative; /do not remove-fixes stupid IEbug/
}
#shopinfoBox {
margin: -15px 0 0 0;
padding: 0 5px;
width: 20%;
float: left;
height: 1%;
}
#copyrightBox {
margin: -15px 0 0 0;
padding: 5px 5px;
width: 20%;
float: right;
height: 1%;
}
#shopOptions {
margin: 10px 0 0 0;
padding: 0;
background: url(../images/options.gif) center center no-repeat;
height: 40px;
}

Any thoughts why the the buttons don't show up?

Outdoorking
Live Site https://www.outdoorking.com.au