Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / columnLeft, columnRight and centerColumn are not on the same line

columnLeft, columnRight and centerColumn are not on the same line

Locked

Views: 2,194

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
20 Jun 2008, 6:17 PM
#1
dalewz avatar

dalewz

New Zenner

Join Date:
Jun 2008
Posts:
12
Plugin Contributions:
0

columnLeft, columnRight and centerColumn are not on the same line

Hi,

Read a lot, but failed to find a solution. Can sb kindly advise how to do it?

The site is fx.pcmfx.com

thanks, -Dale

20 Jun 2008, 6:38 PM
#2
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,601
Plugin Contributions:
0

Re: columnLeft, columnRight and centerColumn are not on the same line

You have empty tags that are taking up space -

<h1 id="indexDefaultHeading"></h1> <h2 class="greeting"></h2>
20 Jun 2008, 7:32 PM
#3
dalewz avatar

dalewz

New Zenner

Join Date:
Jun 2008
Posts:
12
Plugin Contributions:
0

Re: columnLeft, columnRight and centerColumn are not on the same line

Kim:

You have empty tags that are taking up space -

<h1 id="indexDefaultHeading"></h1> <h2 class="greeting"></h2>

Hi Kim,

Thanks for pointing this out. How could I remove them? they seem not in stylesheet.

Thank you again, -Dale

22 Jun 2008, 11:35 PM
#4
littletoycompany avatar

littletoycompany

New Zenner

Join Date:
Mar 2007
Location:
California
Posts:
33
Plugin Contributions:
0

Re: columnLeft, columnRight and centerColumn are not on the same line

Hi Dale,

If you login to your admin area and then click on tools and then developers tool kit you can do a search for where that information is located :smile:

HTH,

Janice

dalewz:


Hi Kim,

Thanks for pointing this out. How could I remove them? they seem not in stylesheet.

Thank you again, -Dale

23 Jun 2008, 2:35 PM
#5
dalewz avatar

dalewz

New Zenner

Join Date:
Jun 2008
Posts:
12
Plugin Contributions:
0

Re: columnLeft, columnRight and centerColumn are not on the same line

littletoycompany:

Hi Dale,

If you login to your admin area and then click on tools and then developers tool kit you can do a search for where that information is located :smile:

HTH,

Janice

Hi Janice,

I did what you said. It tells where you could add the words for the page. But it does not tell where to remove it from the template, so I won't see the extra spaces.

Thanks anyway, -Dale

23 Jun 2008, 4:45 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: columnLeft, columnRight and centerColumn are not on the same line

If they are not mentioned in your stylesheet, add them.

h1#indexDefaultHeading, h2.greeting {display: none;}

24 Jun 2008, 1:34 AM
#7
dalewz avatar

dalewz

New Zenner

Join Date:
Jun 2008
Posts:
12
Plugin Contributions:
0

Re: columnLeft, columnRight and centerColumn are not on the same line

gjh42:

If they are not mentioned in your stylesheet, add them.

h1#indexDefaultHeading, h2.greeting {display: none;}

Hi Glenn,

Thanks for your help. I tried to add either one of the following at the end of the stylesheet.css:

h1.indexDefaultHeading, h2.greeting {display: none;}
h1#indexDefaultHeading, h2.greeting {display: none;}

It seems improved, but the central column is not on the same line as others. Maybe this is the best we can do?

The site is fx.pcmfx.com

Thanks again, -Dale

24 Jun 2008, 5:06 AM
#8
littletoycompany avatar

littletoycompany

New Zenner

Join Date:
Mar 2007
Location:
California
Posts:
33
Plugin Contributions:
0

Re: columnLeft, columnRight and centerColumn are not on the same line

gjh42:

If they are not mentioned in your stylesheet, add them.

h1#indexDefaultHeading, h2.greeting {display: none;}

Hey Glenn,

This line was added as the very last line on the stylesheet. Seems like it should be above h2. You're the expert....am I right in thinking it should be above h2??? Would that make any difference? :unsure:

Janice

24 Jun 2008, 5:24 AM
#9
littletoycompany avatar

littletoycompany

New Zenner

Join Date:
Mar 2007
Location:
California
Posts:
33
Plugin Contributions:
0

Re: columnLeft, columnRight and centerColumn are not on the same line

littletoycompany:

Hey Glenn,

This line was added as the very last line on the stylesheet. Seems like it should be above h2. You're the expert....am I right in thinking it should be above h2??? Would that make any difference? :unsure:

Janice

There is also an h2.centerboxheading. Can you have two h2 declarations? I'm obviously learning so these things are things I need to know!!!

24 Jun 2008, 7:48 AM
#10
gjh42 avatar

gjh42

Black Belt

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

Re: columnLeft, columnRight and centerColumn are not on the same line

You can have multiple h2 elements on any page (and there is no law against having multiple h1s, though it's not best practice). You can also have different h1 and h2 elements on different pages; h2.centerBoxHeading is a separate item from h2.greeting.

Since selectors with equal priority are ruled by the last occurrence in the stylesheet, best practice is to put general sitewide selectors first, followed by more specific ones and exceptions to the general rules.

h1.indexDefaultHeading will do nothing, as there is no class named indexDefaultHeading. #indexDefaultHeading is the way to indicate the name of an id.

26 Jun 2008, 7:25 PM
#11
littletoycompany avatar

littletoycompany

New Zenner

Join Date:
Mar 2007
Location:
California
Posts:
33
Plugin Contributions:
0

Re: columnLeft, columnRight and centerColumn are not on the same line

gjh42:

You can have multiple h2 elements on any page (and there is no law against having multiple h1s, though it's not best practice). You can also have different h1 and h2 elements on different pages; h2.centerBoxHeading is a separate item from h2.greeting.

Since selectors with equal priority are ruled by the last occurrence in the stylesheet, best practice is to put general sitewide selectors first, followed by more specific ones and exceptions to the general rules.

h1.indexDefaultHeading will do nothing, as there is no class named indexDefaultHeading. #indexDefaultHeading is the way to indicate the name of an id.

Whoah!!! I have SO much to learn :unsure: Someday I hope to be able to "snatch the pebble from your hand" Glenn!! :yes:

Janice