Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Posts
    80
    Plugin Contributions
    0

    Default Re: Adding a space in between sidebox entries

    ok getting closer. but still not working.

    first thx!

    ok. ive edited the tpl_categories.php file properly (the override one). it now is uncommented, has the right category id and name of the class which i called "category-designs"

    i think my problem is in the stylesheet.

    I put your code at the bottom of the override stylesheet. but i didnt know which one to put it in.

    stylesheet.css
    stylesheet_original.css
    stylesheet_new.css

    then i tried putting it in them all and didnt get anything. can i ask you which stylesheet to put the code in?

    oh fyi, i modified your code. the class is called category-designs and not holiday.

    many many thx.
    m

  2. #2
    Join Date
    Jun 2005
    Posts
    80
    Plugin Contributions
    0

    Default Re: Adding a space in between sidebox entries

    actually, after viewing the page in firefox, it appears that there is a 5px pad around the category now. but it simply overlaps the other category links. doesnt create any additional space. any ideas? plz and thx thx thx!

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Adding a space in between sidebox entries

    This should be very easy to debug if I can see it in action. Do you have a link to the site where I can see it?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Jun 2005
    Posts
    80
    Plugin Contributions
    0

    Default Re: Adding a space in between sidebox entries

    yes no problem sorry.

    its footnotelabs.com

    the designs category is what id like a line down (essentially).

  5. #5
    Join Date
    Jun 2005
    Posts
    80
    Plugin Contributions
    0

    Default Re: Adding a space in between sidebox entries

    just added a category called " " in between. seems to have worked. many thanks brothers!

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Adding a space in between sidebox entries

    If you add "display: block" to the CSS the padding will show up.

    You have a bigger problem however, with these stylesheets and you're already beginning to see the effects. You should not have all three and unless you have a good understanding of the rules of precidence an extremely retentive memory for the detail of each, you will keep tripping over yourselve trying to work out where to put stuff and whether it isn't working 'cos you got it wroing, or because something in one of the other stylesheets is over-riding it.

    Your stylesheet.css is rather old - I don't now where you got that from. The other two are as a result of using the Classic Template. This template is intended primarily for backward compatibility with earlier versions of Zen Cart and has been hacked about somewhat to achieve this making for a rather more complex stylesheet than a new site needs and more tables-based layout than is the case for a completely clean installation based on the template_default.

    It would be better to build your own template from scratch based on the functionality in the template_default. A little more work up front, but much, much easier in the long-term.

    If you want to continue on your current path, then migrate any changes you have made to stylesheet.css and stylesheet_original.css to stylesheet.new.css and work in that one only, and delete stylesheet.css from your template directory.
    Last edited by DrByte; 9 Aug 2006 at 09:33 AM. Reason: fix typo
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. space between items in sidebox
    By finlander in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 19 Nov 2010, 09:52 AM
  2. Adding space between categories
    By Terrill_Taylor in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 May 2008, 05:51 AM
  3. Adding space in between items
    By cowgirl32 in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 25 Jul 2007, 03:23 AM
  4. space between text in sidebox
    By aussiewench in forum General Questions
    Replies: 3
    Last Post: 3 Oct 2006, 09:33 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