Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: first template for april month at IndexuTemplates.com

  1. #1
    maulana's Avatar
    maulana is offline Super Moderator
    Join Date
    Jul 2008
    Posts
    117

    Default first template for april month at IndexuTemplates.com

    This is first template for april month, it's called HealthLife template.

    Its clean and simple template with single sidebar.

    live demo template can be view here

    The template can be downloaded at indexutemplates.com client area.

    thanks.
    Attached Images Attached Images

  2. #2
    FSGDAG's Avatar
    FSGDAG is offline Moderator
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Nice job maulana!!! I like it alot
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  3. #3
    Dr. Jekyll is offline Registered User
    Join Date
    Mar 2008
    Location
    Rome, Italy
    Posts
    118

    Default

    Very nice work

  4. #4
    maulana's Avatar
    maulana is offline Super Moderator
    Join Date
    Jul 2008
    Posts
    117

    Default

    Thank you

  5. #5
    weswa is offline Registered User
    Join Date
    Oct 2007
    Posts
    136

    Default

    Hi Maulana,

    I bought your Healthlife template and it is very nice. However, I am facing some problems with it; Could you tell me how and where I can change the width of the category columns at the top of the homepage?

    Also the css files are not there (only blocks.css works), when clicking main.css or layout.css in the template manager, I get these errors:
    Warning: file_get_contents(/home/inschoon/public_html/themes/HealthLife/layout.css) [function.file-get-contents]: failed to open stream: Bestand of map bestaat niet in /home/inschoon/public_html/admin/template_modify_file.php on line 30

    And clicking in the template manager -> custom template ->stylesheets leads to an empty file..

    there are main.css and reset.css in a seperate folder /stylesheets, but these are not connectd to the template manager as it seems.

    Your advice how and where to edit the template would be very welcome,

    thanks and regards,
    Wessel

  6. #6
    pungky's Avatar
    pungky is offline Super Moderator
    Join Date
    Mar 2009
    Posts
    143

    Default

    Hi, you need manually edit css files located in stylesheet folder. Open main.css in stylesheet folder then find this line
    Code:
    #container { 
    
      width: 900px; 
    
      margin: 0 auto; 
    
    }
    change the width as you expected

  7. #7
    weswa is offline Registered User
    Join Date
    Oct 2007
    Posts
    136

    Default

    Hi Pungky,

    Thank you for your reply. This will change the total width of the container. The thing I am looking for is how to set the width of the columns with categories within this container; i.e. if the container is 900, how can I have, when using 5 columns, every column use 180pix ?

    Now th width of a column seems fixed; if you only use 3 columns for listing categories, the columns are shown at the left and not equally divided over the total width,

    If you look at the category list at the top of inSchoonhoven.nl - winkels, bedrijven, producten en diensten in Schoonhoven you see the layout of the columns is very bad, and a category like "Goud en zilversmid (0) " does not fit. Therefor I would like to increase the width of the column. It would be great if you could tell me how to do so.

    thanks and regards,

    wessel

  8. #8
    FSGDAG's Avatar
    FSGDAG is offline Moderator
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Pungky will probably be able to answer this best, but I dont think the layout of the categories on the main page will be found inside the template or the CSS. I think for that, a file in /lib might need to be changed.

    Wait for Pungky though... He'll know best
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  9. #9
    maulana's Avatar
    maulana is offline Super Moderator
    Join Date
    Jul 2008
    Posts
    117

    Default

    Hello wessel,

    The category columns generated automatically from indexu system,
    if you want to change this, please go to /lib folder and find category.class.php
    find Display() function in category.class file

    around the 437 and 438 line (in my editor) you will find this code :

    PHP Code:
              $width 100 $this->number_of_columns;
              
    $category .= "<td width=\"$width" "%\" valign=\"top\">\n"
    you can try to change this line, please make sure that you are backup the file first.

    I have checked your site, the space in front of your category list, i.e Goud en zilversmid (0) category. it's because the default image does not exist in your template images folder.

    Please view source the category lists from your browser, then you will find this code:
    HTML Code:
    <img src="http://www.inschoonhoven.nl/themes/HealthLife/images/folder.gif" border="0" alt="" />
    where the folder.gif images files does not exist.

    if you want to remove the category images, you can also try this way :

    open your setting.php file in healthlife template file,
    find this line of code :
    PHP Code:
    $cat_default_image      $site_url.'/themes/'.$active_theme.'/images/folder.png'
    then comment the line code like this :
    PHP Code:
    //$cat_default_image      = $site_url.'/themes/'.$active_theme.'/images/folder.png'; 
    Hope this help.

    Thank you.

  10. #10
    weswa is offline Registered User
    Join Date
    Oct 2007
    Posts
    136

    Default

    Hi Maulana,

    Thank you for your advice, it looks better now.
    Only in FireFox the layout remains not-good, while in IE and Safari it is OK.
    Would you have an idea how to make it look OK in FF too?

    Thanks and regards,
    Wessel

  11. #11
    weswa is offline Registered User
    Join Date
    Oct 2007
    Posts
    136

    Default

    Hi Maulana (or anyone else who knows how to solve this),

    In Internet Explorer and Safari the category columns are shown OK as you see on inSchoonhoven.nl - winkels, bedrijven, producten en diensten in Schoonhoven

    However, if you go there with FireFox, you see the columns are all pushed to the left. I would very much like to solve this.

    Does anyone know how this can be solved?

    Thanks and regards,

    Wessel

  12. #12
    maulana's Avatar
    maulana is offline Super Moderator
    Join Date
    Jul 2008
    Posts
    117

    Default

    Hello meswa,

    I have debug your category structure and i found this code :

    <p>
    <b>
    <a name="cat_24" style="" href="http://www.inschoonhoven.nl/architect/">Architect</a>
    </b>
    <span/>
    </p>
    There are miss type span element, maybe that because you have changed this code :
    PHP Code:
     $number_of_links_format "<span>(<%\$number_of_links%>)</span>"
    to
    HTML Code:
    $number_of_links_format = "<span></span>"
    please use
    HTML Code:
    $number_of_links_format = "<span>&nbsp;</span>"
    if you want to remove number of links category instead of your code above .

    Thanks.

  13. #13
    weswa is offline Registered User
    Join Date
    Oct 2007
    Posts
    136

    Default

    Hi Maulana,

    Thank you for pointing out that error which I corrected like you instructed. Unfortunately it does not solve the category listing problem in FireFox, the categories remain pushed together to the left.

    Would you have another idea?

    Thanks and regards,
    Wessel

  14. #14
    weswa is offline Registered User
    Join Date
    Oct 2007
    Posts
    136

    Default

    Hi Maulana,

    Would it be possible for you to take one more look at the problem mentioned in this thread;

    In FireFox the categories are all pushed together to the left in the HealthLife template, as you can see on inSchoonhoven.nl - winkels, bedrijven, producten en diensten in Schoonhoven

    I would very much like to solve that.

    Thanks and regards,
    Wessel

  15. #15
    pungky's Avatar
    pungky is offline Super Moderator
    Join Date
    Mar 2009
    Posts
    143

    Default

    Hi Wessel,

    Please try this.

    open your main.css

    find this line
    Code:
    .category-content {
      margin: 10px;
      padding: 0;
      float: left;
      line-height: 18px;
    }
    then remove float: left;

Page 1 of 2 12 LastLast

Similar Threads

  1. second template for march month at IndexuTemplates.com
    By maulana in forum Indexutemplates
    Replies: 1
    Last Post: 03-27-2009, 12:58 AM
  2. first template form march month at IndexuTemplates.com
    By maulana in forum Indexutemplates
    Replies: 1
    Last Post: 03-20-2009, 02:34 AM
  3. Second template for february month at IndexUtemplates.com
    By maulana in forum Indexutemplates
    Replies: 2
    Last Post: 02-24-2009, 06:01 AM
  4. New template for february at IndexUTemplates.com
    By maulana in forum Indexutemplates
    Replies: 0
    Last Post: 02-19-2009, 04:13 AM
  5. Indexutemplates template changer fixes
    By Bruceper in forum Indexutemplates
    Replies: 0
    Last Post: 09-18-2008, 04:39 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
  •