Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2006
    Posts
    4
    Plugin Contributions
    0

    Default Add Bullet to Information List

    I wanted to add bullets to the Infomation box links. I tried to find it on the css but could not figure it out. Thought I could use "list-style-type: square;" command. Any help?

    Also, where do i change the Word from "Information" to "Something"
    Thanks

    Newbie
    Zen Cart 1.3.6

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Add Bullet to Information List

    You need to read about creating a template first so that the customizations that you make are tracked for you and not lost in a upgrade...

    Most of the definitions are contained in the file /includes/languages/english.php file. make a copy for your template override folder and edit the corresponding descriptions and they appear as:
    Code:
    // information box text in sideboxes/information.php
      define('BOX_HEADING_INFORMATION', 'Information');
      define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');
      define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');
      define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');
      define('BOX_INFORMATION_CONTACT', 'Contact Us');
      define('BOX_BBINDEX', 'Forum');
      define('BOX_INFORMATION_UNSUBSCRIBE', 'Newsletter Unsubscribe');
    to insert a bullet you can use the ascii code for a bullet - - and you probably want a space also and this would become
    Code:
    // information box text in sideboxes/information.php
      define('BOX_HEADING_INFORMATION', 'Information');
      define('BOX_INFORMATION_PRIVACY', '• Privacy Notice');
      define('BOX_INFORMATION_CONDITIONS', '• Conditions of Use');
      define('BOX_INFORMATION_SHIPPING', '• Shipping & Returns');
      define('BOX_INFORMATION_CONTACT', '• Contact Us');
      define('BOX_BBINDEX', '• Forum');
      define('BOX_INFORMATION_UNSUBSCRIBE', '• Newsletter Unsubscribe');
    Well this editor is parsing the "bullet code" so I will try to post it with an added space between each character (these spaces you would remove)

    & # 1 4 9 ;

    That is better, so in the posted code where you see a bullet, replace with the code above with the spaces removed.

    The term Information is also here, and you can change it to another term. (Insure that you retain the single quotes that surround the term)

    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Add Bullet to Information List

    Code:
    #informationContent.sideBoxContent ul li {list-style-type: disc;margin-left: 12px;}
    The margin is in there cause on mine the bullets where outside the border, so I needed to push them over so they where back in the box
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  4. #4
    Join Date
    Dec 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Add Bullet to Information List

    Thanks for the quick reply... Is there a way to do this with an image? I see a lot of site that have squares or arrow images instead of bullets.
    Thanks

    Newbie
    Zen Cart 1.3.6

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Add Bullet to Information List

    list-style-image: url(../images/whatever.gif)

    create your own bullet and place it in your templates image folder
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    Dec 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Add Bullet to Information List

    Quote Originally Posted by barco57 View Post
    Code:
    #informationContent.sideBoxContent ul li {list-style-type: disc;margin-left: 12px;}
    The margin is in there cause on mine the bullets where outside the border, so I needed to push them over so they where back in the box

    I'm sorry... just to clarify.... where would I do this? english.php or somewhere else?
    Last edited by zeta1600; 26 Dec 2006 at 01:26 AM.
    Thanks

    Newbie
    Zen Cart 1.3.6

  7. #7
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Add Bullet to Information List

    oh sorry in the stylesheet, you'll need to add it
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  8. #8
    Join Date
    Dec 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Add Bullet to Information List

    Found it... Thanks Barco57
    Thanks

    Newbie
    Zen Cart 1.3.6

 

 

Similar Threads

  1. v151 Custom image bullet list on an EZ Page
    By magz in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Dec 2013, 12:43 AM
  2. How to add bullet points to the product description?
    By musicfreer in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 14 Sep 2008, 06:53 AM
  3. CSS Bullet list issue
    By MCanes in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Jun 2007, 12:12 AM
  4. Fix Bullet List Left Margin on Product Description Page
    By gems14k in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 7 Nov 2006, 08:07 AM
  5. wordpress add-on, looking for list item styling to turn off bullet point in sidebox
    By joshuaself in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 26 Oct 2006, 11: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