Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    384
    Plugin Contributions
    0

    Default Category listing not alligned

    Hi, I have used the forum and found the code for my stylesheet to adjust the catagory listing. I needed to move them all in by 40 px so on the margin line i entered 40px. All the category descriptions moved in as required apart from the first one. any ideas?
    A.category-top {
    color: #0C147E !important;
    width: 80%;
    font-size: 1.1em;
    margin: 0px 5px 0px 40px

    www.forestjoinery.co.uk/shop


    Only just started on this one so appologies that it not looking good yet

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Category listing not alligned

    Looks fine in Firefox ????

  3. #3
    Join Date
    Oct 2008
    Posts
    384
    Plugin Contributions
    0

    Default Re: Category listing not alligned

    Hmmmm ok got firefox and ie8 now but ie7 still screws it up any ideas as there are so many ie7 users still out there

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Category listing not alligned

    yes weird one.

    Here's a guess.
    The widths are causing a problem. 80% plus 40px may be more than the containing width.

    What I would do next ( as I say I am on my laptop so don't have full access to IE) is add the following to the bottom of the stylesheet and see what it does:


    Code:
    #categoriesContent{border:1px solid red;position:relative;}
    a.category-top{border:1px solid purple;width:130px;}
    It adds some borders in so we can see more easily, reduces the width of the <a> and makes the containing element position relative just to be on the safe side.

    Leave it up like this if it doesn't have a good effect so I can see the results in IE.

  5. #5
    Join Date
    Oct 2008
    Posts
    384
    Plugin Contributions
    0

    Default Re: Category listing not alligned

    Thanks for your time so far. Have put that code in style sheet to be viewed.

  6. #6
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Category listing not alligned

    Well, I think that is truly bizarre, but nothing surprises me about internet explorer.

    How about this as a work around. Remove the left margin from .category-top. Then add a left margin to #categoriesContent.

    Works in firefox but you will have to add it in to see if it works in IE.

 

 

Similar Threads

  1. v150 FreeShipping image in category but not showing in listing?
    By JacobBushnell in forum Customization from the Admin
    Replies: 12
    Last Post: 2 Jun 2012, 02:53 AM
  2. New Products Not Showing in Category Product Listing
    By lndlyb4 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 3 Jul 2009, 05:03 PM
  3. Featured Product Images Not Alligned
    By bishop08 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Mar 2009, 10:29 PM
  4. Link to first product in category, NOT listing
    By thomasharding in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 27 May 2008, 02:57 PM
  5. Photos left alligned on mac/safari
    By shannda in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 2 Jan 2007, 05:48 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