Results 1 to 8 of 8

Thread: CSS question

  1. #1
    Join Date
    Jul 2007
    Posts
    41

    Default CSS question

    hi

    in 5.3 in the file style.css, where is the entry to change the a and a:link colors for the categories & sub-cats on the index page. have looked and changed various entries which i felt would do the job, but no joy. thought it may have been cp entries. also, i have modified the rows.html to open links in a new window, but it dosen't work. here is the code i amended:

    Code:
    <a href="<%$url%>" target="_blank" name="link_<%$link_id%>"><b style="color: #8DBB07"><%$title%></b></a>
    is that correct?

    Thanks for help.

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    use target="_new"

    As for 5.3 I can't help you as I don't have any sites using 5.3 anymore.

  3. #3
    Join Date
    Jul 2007
    Posts
    41

    Default

    Brucper. thanks for reply. however, it doesn't work. changed the code to now read:

    Code:
    <a href="<%$url%>" target="_new" name="link_<%$link_id%>"><b style="color: #8DBB07"><%$title%></b></a>
    thanks for trying to help.

  4. #4
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    I have no idea if this would help in the least, but I found out that every time I make a code change to any of the files on my site, I need to clear the 'template_c' directory in order for me to see the changes.

    Maybe try clearing out that directory and then see if your changes work

  5. #5
    Join Date
    Jul 2007
    Posts
    41

    Default

    FSGDAG. Forgot about that when using smarty tpl system. will check it out and report back. I am assuming the code is correct? Thanks.

  6. #6
    Join Date
    Jul 2007
    Posts
    41

    Default

    Just an update. cleared the template_c directory and still not working. can someone validate the code is correct? Thanks

  7. #7
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    the code will work. login to admin and clear the cache, then if that doesn't work check the obvious things - make sure the change is appearing online (view source) im always uploading things to the wrong theme folder, so it maybe something like that.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  8. #8
    Join Date
    Jul 2007
    Posts
    41

    Default

    cleared the cache again and also from the admin as you suggested inspireme and it is now working. Just as an update to the CSS question, I found it in the settings.php file. it is hardcoded there and not in CSS. so for anyone else looking, there you go. Although i am sure i am the only one who didn't think of looking there until last :-)

    Thanks to everyone who responded to this thread.

    Cheers

Similar Threads

  1. I have a question, plz look.
    By Arthur32 in forum v5.x
    Replies: 1
    Last Post: 08-20-2006, 07:00 PM
  2. here's a question for you
    By gnr in forum Pre-Sales Questions
    Replies: 2
    Last Post: 12-21-2004, 05:09 AM
  3. question
    By Enigma in forum Pre-Sales Questions
    Replies: 2
    Last Post: 10-19-2004, 10:32 AM
  4. A question!
    By MikeMc in forum v5.x
    Replies: 1
    Last Post: 01-23-2003, 08:27 AM
  5. sAME qUESTION oNCE aGAIN!
    By craven in forum v5.x
    Replies: 5
    Last Post: 07-13-2002, 03:20 AM

Posting Permissions

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