Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2010
    Posts
    4
    Plugin Contributions
    0

    Default How can I change the subcategories names to display differently?

    When each page is produced the URL changes (/shop/index.php?main_page=index&cPath=5) or (/shop/index.php?main_page=index&cPath=1) can you edit these pages individually.

    The reason I am asking is when I click on categories if theirs a sub category it opens a new page with the sub categories as icons, but as a list I won’t them to be across the page.

    I also have a random problem when clicking on a category the new page opens with only the left column in the middle of the page before righting it self, it only happens randomly and only for a second im un able to reproduce it.

    Im using the standard green template.

    # What version of Zen Cart are you using? 1.3.8a
    # Has your site been upgraded? When? From what version(s)? fresh install
    # What addons have you installed? When? easypop royalmail post
    # In what ways is your site customized or different from a brand new uncustomized install?
    # If you're encountering display/layout problems, post your site URL* so it can be seen in action. not live

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: How can I change the subcategories names to display differently?

    Quote Originally Posted by razorab View Post
    When each page is produced the URL changes (/shop/index.php?main_page=index&cPath=5) or (/shop/index.php?main_page=index&cPath=1) can you edit these pages individually.
    These "pages" are created "ON THE FLY" by the php, and only exist while in the browser screen.

    As soon as the visitor navigates away from them, they "evaporate" forever, and a new page is assembled by the php.

    There are no "HTML" pages in zencart - they do not exist. Pages are constructed by the php, depending on what the viewer has called up.

    Structural and layout edits are performed by editing the css, activating/deactivating components in the Admin Console, and (in a few cases) by editing the php itself.

    There are no "pages" as such... all "pages" are assembled by the php and exist only for the time they are rendered in a browser screen.
    20 years a Zencart User

  3. #3
    Join Date
    Feb 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: How can I change the subcategories names to display differently?

    Thanks for that schoolboy, I thought that was the case was starting to pull my hair out.

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

    Default Re: How can I change the subcategories names to display differently?

    "I also have a random problem when clicking on a category the new page opens with only the left column in the middle of the page before righting it self, it only happens randomly and only for a second im un able to reproduce it."

    This is a CSS effect, caused by #navColumnOne and/or #navColumnOneWrapper having a margin: auto; property. This is an instruction to center itself in the space available, and for a brief moment while loading, there is no center column yet and the entire window is available.
    It annoyed me when I was first building my site, and I deleted it. This may or may not be safe for you to do, depending on your design.

  5. #5
    Join Date
    Feb 2010
    Posts
    4
    Plugin Contributions
    0

    Default How do I change this from list to a row?

    How do I change this from list to a row it shows the sub categories normally with an icon.
    Attached Images Attached Images  

  6. #6
    Join Date
    Jul 2009
    Location
    Prague, Czech Republic
    Posts
    530
    Plugin Contributions
    0

    Default Re: How do I change this from list to a row

    Difficult to see from that screenshot exactly what you're wanting from my small laptop screen, but perhaps try the column_layout_grid_v_1_3_8 mod here - http://www.zen-cart.com/index.php?ma...products_id=77

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

    Default Re: How do I change this from list to a row

    Hard to tell from a screenshot, but you may have eliminated a float: left; that normally makes this list and lots of others line up in rows.
    It won't be related to Column Grid, as that is for the product listing.

  8. #8
    Join Date
    Feb 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: How do I change this from list to a row

    Thanks

    it’s a right pain as I can find how to change the new products below from 3 columns across the page to 1 left, right, or centre by changing line 562 (/*misc*/.back { float: left; }) in stylesheets.css

    but can find nothing to reference the area above new products heading.
    I have attached a screen grab but don’t know why it shrinks on uploading.
    I clicked the image then zoomed in on the browser to make it clearer.
    Attached Images Attached Images  

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

    Default Re: How do I change this from list to a row

    You don't want to change the plain .back {} rule, as that is used all over the code and you will be affecting things you never suspected, and find yourself wondering how to fix some random display problem somewhere else entirely.
    Do something like
    #productListing .back {float: right;}

    to limit the effect to the product listing content.

 

 

Similar Threads

  1. How can I list several products in a row ?
    By neveu in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 3 Nov 2010, 01:05 AM
  2. How to list 2 column per row in my products?
    By rich00693 in forum Customization from the Admin
    Replies: 5
    Last Post: 20 Oct 2009, 04:12 AM
  3. How to change Product layout from row to columns?
    By touchclothing in forum General Questions
    Replies: 2
    Last Post: 31 Aug 2009, 07:53 PM
  4. How do I change product display from List to Grid?
    By cama in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Aug 2008, 08:26 PM
  5. How do I remove the top table row from this page?
    By datatv in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Jun 2008, 02:01 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