Results 1 to 6 of 6

Thread: Unable to find colour code

  1. #1
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default Unable to find colour code

    Here is my web site http://www.theremotedoctor.co.uk
    Today I have been through my basic-style css file & added comments next to each colour code.
    I am then able to find what I need to much quicker.
    There is 1 that I was unable to find though.

    On the iOS device after selecting Menu a drop down list is shown.
    Now the fields in question are Contact Me, Accessories, Fobs & Cases etc etc.
    These are just headers but change colour if clicked etc.
    Currently they are #66C2F1 then changes to #0099FF upon click.

    As I was unable to find this code I decided to change one at a time the #0099FF codes to lime green #00FF00
    Thinking I would then be able to spot which code when changed had an affect.
    Ha Ha this never happened hence now asking for help here.
    Last edited by theremotedr; 02-17-2016 at 07:02 PM.

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there theremotedr,

    Unable to find colour code
    Well, it does take a little eking out.

    Try this...
    Code:
    
    @media screen and (max-width:920px) {
    .srt-menu li:nth-child(2) a,.srt-menu li:nth-child(3) a,
    .srt-menu li:nth-child(4) a,.srt-menu li:nth-child(5) a,
    .srt-menu li:nth-child(6) a,.srt-menu li:nth-child(7) a,
    .srt-menu li:nth-child(8) a {
        background-color:#333;
        color:#fff;
        cursor:default;
     }
    .srt-menu li ul a {
        background-color:#fff!important;
        color:#000!important;
        cursor:pointer!important;
      }
    .srt-menu li ul a:hover {
        background-color:#09f!important;
      }
     }

    coothead
    Last edited by coothead; 02-17-2016 at 04:29 PM.
    ~ the original bald headed old fart ~

  3. The Following User Says Thank You to coothead For This Useful Post:

    theremotedr (02-17-2016)

  4. #3
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Hi,
    Ive added that code to my css file at line 566 but i see no change.
    I changed all the # codes in your code to lime green and dont see any reflection on the ios
    Was i also supposed to alter something else ?

  5. #4
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there theremotedr,

    obviously the code that I supplied works, which means that
    your implementation of it must be rather faulty.

    Have you been knocking back the scrumpy?

    Anyway, I have correctly installed it in your CSS file for you.

    You can find this file within the attachment.
    Attached Files Attached Files
    ~ the original bald headed old fart ~

  6. The Following User Says Thank You to coothead For This Useful Post:

    theremotedr (02-17-2016)

  7. #5
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Obviously i am wrong no problem there.
    Yep funny enough your suppliedd css file works spot on.
    I was going to now tackle why my drop down text is not 100% centered but its been a long day so i am going to give it a look tomorrow.

    Cheers for the continued welcomed help.

  8. #6
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default


    No problem, you're very welcome.

    coothead
    ~ the original bald headed old fart ~

Similar Threads

  1. Resolved Newbie unable to find answer to layout issue.
    By theremotedr in forum JavaScript
    Replies: 9
    Last Post: 04-26-2015, 01:43 PM
  2. Resolved Unable to locate image code
    By theremotedr in forum CSS
    Replies: 2
    Last Post: 03-17-2015, 10:15 AM
  3. Unable to find issue with small php snippet
    By david.kansal in forum PHP
    Replies: 0
    Last Post: 05-07-2014, 05:44 AM
  4. need help to try to find a code
    By cjaefer in forum Looking for such a script or service
    Replies: 2
    Last Post: 01-09-2009, 04:09 PM
  5. Unable to find the code
    By drosen24 in forum Other
    Replies: 2
    Last Post: 12-01-2005, 02:36 AM

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
  •