Folder.gif

Discussion in 'Customizations' started by kerrynetwebservices, May 15, 2010.

  1. I have made some changes to the CSS sheet to the way the catagory links display and the same format affects my folder.gif image to the left of the catagory can someone please point me to either the place in the CSS which affects the hover over the folder.gif or the place in the script where I can remove it altogether.
  2. Mike-N-Tosh Developer & Moderator

    Try using either FireFox w/the Firebug/web developer addons or Safari withe the Web Developer activated, then simply right click on the item to "inspect" the item and it will show you exactly what CSS rules are affecting it.
  3. Thanks for that, it helped me with many of the other issues I had on the site however, the folder.gif and the catagory name are both being ruled by the same CSS marker which is "a" and I cannot find a way to seperate then in the style sheet.
    -----------------------
    Regards Len
  4. Mike-N-Tosh Developer & Moderator

    What you could do is simply modify your home.tpl file in your template file. As you haven't posted what version of the 68C you are using or the template you are using, I can only guess. This is how I would approach the issue.

    I believe the key to what you are trying to achieve is in the home.tpl file around line 16:
    HTML:
    {$data[td].start_link}<img src="{$data[td].image}" border="0" alt="{$data[td].name}" /></a> 
    To something like this:
    HTML:
    <span class="cat_folder">{$data[td].start_link}<img src="{$data[td].image}" border="0" alt="{$data[td].name}" /></a></span> 
    Then in your stylesheet add a new class with two separate definitions:
    HTML:
    .cat_folder span a{text-decoration:none;}
    .cat_folder span a:hover{your declarations for hovering}
  5. Hi followed your advice I am currently using a hosted 68classifieds which should be the latest release and I am using the Deepsea Template. All was good and I managed to remove the folder.gif from the main catagory display, the problem I now have is it did not do the same for the sub catagory section.
    Regards
    Len

Share This Page