www.webdeveloper.com
Results 1 to 7 of 7

Thread: Colour change not working

  1. #1
    Join Date
    Feb 2014
    Posts
    5

    Colour change not working

    Hello,

    I'm trying to make a change to the colour of a link on the homepage of my company: http://www.mediarundigital.co.uk/ the recent blog post is unstyled for some reason despite that I have put some code in to make it #c45. Does anyone know why it isn't inheriting the correct style?

    Also I do apologise if this a CSS issue and not HTML, I wasn't sure.

    Thanks in advance.

  2. #2
    Join Date
    Aug 2006
    Posts
    1,905
    Styling is a css thing.

    Your other links are styled via this css in your stylesheet:
    Code:
    .homepage-boxes .textwidget p a {
        color: #FFFFFF;
        margin: 5px;
        text-decoration: underline;
    }
    The blog post links are not within a <p>aragraph</p>, so there is no styling other than the default on them.

  3. #3
    Join Date
    Feb 2014
    Posts
    5
    Hi Tracknut, thanks for your reply. I want to keep the other links the same, but change the colour of the blog link, how would I make that happen?

  4. #4
    Join Date
    Aug 2006
    Posts
    1,905
    You would make a style, something like this:
    Code:
    #homepage-box-3 a {color:#F00}

  5. #5
    Join Date
    Feb 2014
    Posts
    5
    That code didn't seem to make any difference. Doesn't really matter now as my boss wants it back to how it was and no colour change. That was a great use of everyone's time...

    Thanks for the help anyway.

  6. #6
    Join Date
    Jan 2014
    Location
    On the earth
    Posts
    71
    Quote Originally Posted by tracknut View Post
    You would make a style, something like this:
    Code:
    #homepage-box-3 a {color:#F00}
    It's not working in my code.... What is the other option?

  7. #7
    Join Date
    Feb 2014
    Location
    England
    Posts
    52
    #menu-item-1603 a { color: #ff0000; }

    This should work?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles