Results 1 to 5 of 5

Thread: Extra html tags in comments

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Extra html tags in comments

    Hi,
    I'm having trouble adding extra html tags, in this case for bullet points, to comments. I'm using the default theme in Hotaru 1.2. I have all the plugins from the updated plugin pack plus category manager enabled. I've added <li><ul><ol> and so on in the correct field in the Comments admin section. However bullet points don't show up in the comment when I enter

    <ul>
    <li>A</li>
    <li>B</li>
    <li>C</li>
    </ul>

    Do I have to edit style.css? I'd appreciate any help.

  2. #2
    Senior Member louis's Avatar
    Join Date
    Apr 2010
    Location
    Fugetaboutit!
    Posts
    118
    Thanks
    35
    Thanked 44 Times in 28 Posts

    Default

    How about adding this snippet to your style.css
    Code:
    .comment ul li {
    list-style: disc;
    }
    this should add a bullet. It's worth a try.. Or you can try
    Code:
    .comment ul li {
    list-style-image: url(path to bullet image/bullet-img.png);
    }
    if you want to use an image.
    Last edited by louis; 05-11-2010 at 12:06 AM. Reason: spelling
    Louis
    Its Who I Am | My Hotaru site coming soon

  3. Thanked by:


  4. #3
    Junior Member
    Join Date
    May 2010
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Thanks. I edited style.css and added
    Code:
    .comment ul li  {
    padding: 1em;
    list-style-type: circle;
    }
    However bullet points don't appear. I opened the page in Firefox, and using Firebug I played around with the CSS. Bullet points appear if I disable the padding property from
    http://yui.yahooapis.com/2.8.0r4/bui...onts-grids.css
    line 7
    Code:
    body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
    margin:0;
    padding:0;
    }

    Any idea why this happens?

  5. #4
    Senior Member louis's Avatar
    Join Date
    Apr 2010
    Location
    Fugetaboutit!
    Posts
    118
    Thanks
    35
    Thanked 44 Times in 28 Posts

    Default

    That is odd and I'm not sure why that would happen. Maybe try
    Code:
    .comment_content ul li {
    padding: 1em;
    list-style-type: circle;
    }
    I'm new to YUI and still a novice myself, but I don't edit any of the CSS framework files. I just add the items to my style.css.
    Louis
    Its Who I Am | My Hotaru site coming soon

  6. Thanked by:


  7. #5
    Junior Member
    Join Date
    May 2010
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Code:
    .comment_content ul, ol, li {
    padding-left:20px;
    list-style-type: circle;
    }
    Works. Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Extra Profile Fields Not Saving
    By angolanmade in forum How-To and Troubleshooting
    Replies: 20
    Last Post: 04-14-2010, 03:19 AM
  2. [Docs] Adding Extra Profile Fields
    By Nick in forum Design and Layout
    Replies: 1
    Last Post: 03-15-2010, 03:00 PM
  3. Different HTML on Activity Page
    By runnertalk in forum How-To and Troubleshooting
    Replies: 6
    Last Post: 02-06-2010, 02:57 PM
  4. [Docs] Adding Extra Post Information
    By Nick in forum Developing Plugins
    Replies: 0
    Last Post: 01-11-2010, 10:56 AM
  5. [Docs] Extra ezSQL Functions
    By Nick in forum Developing Plugins
    Replies: 0
    Last Post: 07-13-2009, 05:19 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •