Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2010
    Location
    My heart will always be in the NorEast
    Posts
    106
    Plugin Contributions
    0

    Default Centering categories in main wrapper

    have attempted to place a text-align:center in pretty much all the wrappers and its still going to the left or right if I change the float.

    How can I go about centering this as I have an odd number of categories and or I may add more at a later date. This is only happening on the index page.


    Also if anybody knows of a script that can automate qr's for each product that would be grand, but thats for another day.
    Attached Images Attached Images  

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

    Default Re: Centering categories in main wrapper

    automate qr's? What do you mean?


    There is no way to center those last two categories automatically without a bunch of custom coding. You can get the effect for your particular current display with CSS, using the "adjacent selector" operator, similar to this:

    .categoryListBoxContents+.categoryListBoxContents+.categoryListBoxContents+br+.c ategoryListBoxContents {margin-left: 123px;}

    This would have to be customized to exactly fit the sequence you have, including a br if there is one. If I saw your page live, I could write the correct rule quickly.

  3. #3
    Join Date
    Jul 2010
    Location
    My heart will always be in the NorEast
    Posts
    106
    Plugin Contributions
    0

    Default Re: Centering categories in main wrapper

    Thanks, ill try it later.

    I have qr's on every product that directs smartphones back to the specific product. Unfortunately I have been sucking it up and manually doing this which brings up a couple of issues, one being time, and two being if I move a product or category to someplace else it would invalidate the code.

    If someone came up with a qr generator script that would poll whatever the url is to the product on the fly that would be awesome!

    **I just looked at your code, didnt even think about nudging it over! Simple solution thanks
    Attached Images Attached Images  
    Last edited by richphitzwell; 15 Jan 2011 at 02:00 AM. Reason: I just looked at the code

  4. #4
    Join Date
    Jul 2010
    Location
    My heart will always be in the NorEast
    Posts
    106
    Plugin Contributions
    0

    Default Re: Centering categories in main wrapper

    WORKED LIKE A CHARM!!!!!!!! Thank you so much

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

    Default Re: Centering categories in main wrapper

    Glad to hear it! Now what's a qr? I see it's that barcody thing... what does it actually do?

  6. #6
    Join Date
    Jul 2010
    Location
    My heart will always be in the NorEast
    Posts
    106
    Plugin Contributions
    0

    Default Re: Centering categories in main wrapper

    Quick answer, anything I want it to. Your phone scans it in this case it will pull up that specific product on the phone. I have others on sites that will add contact vcards to the persons phone. At businesses I have the wifi information on it so they scan and all the encryption said etc configure the phone to the network. Hell I can put a nice message on your phone like hi!

    I've been putting these up for a year now and just in the last month they are becoming common on business cards, bills, whatever.

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

    Default Re: Centering categories in main wrapper

    I've seen them here and there and obviously they have coded information, but that's all I knew (didn't know what they were called either).

 

 

Similar Threads

  1. floating main wrapper
    By joe2009uk in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 May 2010, 08:19 PM
  2. Main Wrapper Margin
    By rbonja in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Dec 2008, 08:10 PM
  3. Main Wrapper Background
    By rbonja in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Dec 2008, 05:57 AM
  4. nav main wrapper
    By Cecile in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 May 2008, 11:42 AM
  5. Main Wrapper
    By oxicottin in forum General Questions
    Replies: 3
    Last Post: 14 May 2007, 07:06 PM

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