Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Edit layour of article page
  • Posted: 02.06.2006, 21:57
     
    ARSNOnline
    rank:
    Softmore Softmore
    registered:
     August 2005
    Status:
    offline
    last visit:
    29.04.08
    Posts:
    57
    For example: http://arsnonline.co…le=article&sid=3021

    Where do I look to remove the empty line (which isn't in the HTML generated from what I can tell) between the title and the date, as well as, the empty lines between the dates and the body of the article?


    Thanks



    edited by: mhalbrook, Jun 02, 2006 - 09:44 AM
  • Posted: 02.06.2006, 22:54
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    online
    Posts:
    6520
    1. You've got your CSS files loading multiple times
    2. H5 For the title is kinda small, but that's mostly an asthetics thing
    3. Instead of using H5, wrap the title in a tag with a class and use CSS to style it (This could likely fix the problem also) or at the very least, take out the bold stuff and add, to the style.css file:

    Code

    h5
    {
      font-weight:bold;
      margin:0;
      padding:0;
    }


    Your theme could really use some overhauls to make it standards compliant, removing styling info from the HTML and moving it where it should be to the CSS.



    edited by: mhalbrook, Jun 02, 2006 - 09:55 AM
  • Posted: 05.06.2006, 21:41
     
    ARSNOnline
    rank:
    Softmore Softmore
    registered:
     August 2005
    Status:
    offline
    last visit:
    29.04.08
    Posts:
    57
    I'm honestly unsure how that got in there.

    Which file do I edit to add a CSS wrap to it?


    Thanks
  • Posted: 05.06.2006, 22:12
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720

    mhalbrook

    2. H5 For the title is kinda small, but that's mostly an asthetics thing

    Code

    h5
    {
      font-weight:bold;
      margin:0;
      padding:0;
    }



    Michael,

    I don't necessarily agree - while h5 is to small by default it can be made whatever size you like using CSS. Just add a font-size: your size to the CSS definition. Where h5 is probably not suitable is that it won't give the necessary weighting the the article title in relation to rest of theme (from the search engine perspective).

    -Mark

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula