Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Menu colour change

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #165113
    xilef
    Participant

    Hi Guys,

    This is my first post, I’m hoping someone on here is better than me at spotting discrepancies. Thanks in advance for taking the time…

    Does anyone know why when a page is selected it makes the title link turn red in the menu bar?

    http://www.felixdavey.com

    body {
    color: #555555;
    font: 0.75em/1.6em “lucida grande”, verdana, tahoma, sans-serif;
    text-align: center;
    margin: 0 20px 20px;
    background: repeat-x left top url(images/header_bg.png);
    padding: 0;
    }

    p {
    }

    b, strong {

    }

    a:link, a:visited {
    }

    a:hover, a:active {

    }

    #165116
    Paulie_D
    Member

    It looks like each page’s relevant list item has an ID of #current hardcoded in the HTML.

    This is then selected in the CSS.

    #165118
    xilef
    Participant

    Thanks for the quick reply guys! Sorry for dumping.

    I can’t find the color red anywhere in the CSS which makes me think it is hardcoded in the HTML. What would be the best way to get rid of it or override the HTML?

    Thanks

    #165122
    Paulie_D
    Member

    It’s here

    #navcontainer #current {
    color: #ea4759;
    }
    
    #165128
    Paulie_D
    Member

    @jurotek Just inspected the site in Dev Tools….simples.

    #165133
    xilef
    Participant

    Thanks guys, I really appreciate your help!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.