Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jun 2008
    Posts
    12
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default 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>
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jun 2008
    Posts
    12
    Plugin Contributions
    0

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

    Quote Originally Posted by Kim View Post
    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

  4. #4
    Join Date
    Mar 2007
    Location
    California
    Posts
    30
    Plugin Contributions
    0

    Default 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

    HTH,

    Janice




    Quote Originally Posted by dalewz View Post
    ---
    Hi Kim,

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

    Thank you again, -Dale

  5. #5
    Join Date
    Jun 2008
    Posts
    12
    Plugin Contributions
    0

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

    Quote Originally Posted by littletoycompany View Post
    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

    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

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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;}

  7. #7
    Join Date
    Jun 2008
    Posts
    12
    Plugin Contributions
    0

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

    Quote Originally Posted by gjh42 View Post
    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

  8. #8
    Join Date
    Mar 2007
    Location
    California
    Posts
    30
    Plugin Contributions
    0

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

    Quote Originally Posted by gjh42 View Post
    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?

    Janice

  9. #9
    Join Date
    Mar 2007
    Location
    California
    Posts
    30
    Plugin Contributions
    0

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

    Quote Originally Posted by littletoycompany View Post
    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?

    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!!!

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 29 Nov 2012, 02:17 AM
  2. main and addtional images on the same line?
    By GerardV in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 13 Feb 2011, 06:39 PM
  3. Getting Add to Cart and QTY on the same line..
    By Scott_C in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Feb 2010, 05:55 AM
  4. how to let the logo and and toplink always in same line
    By gueston in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Jul 2009, 04:03 PM
  5. product name and price on the same line
    By ghmedia in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Apr 2009, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg