Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2006
    Posts
    15
    Plugin Contributions
    0

    Default Category Layout in center

    Hi all, noob here.

    When a category is clicked on theCategory box, the sub categories were listed accross the page like so;

    a b c

    d e f


    But now, they are listed like this;

    a
    b
    c
    d
    e
    f

    How do I change it back? I have been searching the forum for over an hour.


    Thank you in advance!

  2. #2
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,026
    Plugin Contributions
    13

    Default Re: Category Layout in center

    got an url we can look at?
    PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

  3. #3
    Join Date
    Nov 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Category Layout in center

    Quote Originally Posted by knuckle-101 View Post
    got an url we can look at?

    Oh, yeah

    www.kronicmotorsports.com/store

    I think this store thing might be over my head!!!!

  4. #4
    Join Date
    Nov 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Category Layout in center

    Anybody?

  5. #5
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Category Layout in center

    A case of self sabotage...

    In your stylesheet.css, find;
    Code:
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    	float: center;
    	}
    Replace above with stock code;
    Code:
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    	float: left;
    	}
    Two things to explain;
    1) You don't have a floating logo to center anyways, asides from the error explained below.
    2) You've basically commanded a combo of classes to a improper declaration. Anytime you wish to center something(asides from background images), you should use "text-align: center" instead of "float: center"
    If you want to isolate one target from a combo/group, remove "#logo," from the combo and make a separate entry for it... like; #logo { text-align: center }

    Not to worry, for a self proclaimed "noob"... you only had one error. You'll get Zenned in no time.

  6. #6
    Join Date
    Nov 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Category Layout in center

    Thanks Sketchy!!!!

    Looks like that fixed it. I didn't realize that controlled the text like that. I thought I was going to center the store name at the top. Which of course I didn't do and still don't know where to fix the name.

    I hope I get the hang of this soon

  7. #7
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Category Layout in center

    You're welcome.

    Which text do you want centered? The main page center column welcome? I'm thinking so. You can do that through your Admin with the main page define editor. Perhaps, you can just add this to your stylesheet.css;
    Code:
    #indexDefault { text-align: center }

  8. #8
    Join Date
    Nov 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Category Layout in center

    I was thinking of the header area. I would like the name (picture) centered.

  9. #9
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Category Layout in center

    Ah, okay. I see the imaged text on the background begins left. Via your image program, you can make a new image 750px x 149px, color it black. Then, open up your current header banner and lay it on top(while centering it upon the underlying black background. Save as "kronic1.jpg" and upload/overwrite the current one in your online current template "image" folder.

    If I explained it vaguely, send a PM my way as I wouldn't mind sending you a modified image.

 

 

Similar Threads

  1. Center Align Category/Sub-Category Images?
    By lmw1 in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 1 Feb 2011, 08:18 AM
  2. center layout
    By peeptoe in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Aug 2008, 03:34 PM
  3. Change so that category next to sub-category center column.
    By raquelann in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 Jun 2008, 10:47 AM
  4. Center boxes layout
    By jenjen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Dec 2007, 06:49 PM
  5. Center Page Layout
    By a4tech in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Apr 2007, 08:15 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