Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #750451

    Hello!

    I’m trying to change the color of all links inside the color section with custom ID, but it doesn’t work for some reason.

    I’m trying to use this code:

    #blogpost .container {
    a {
         color: red !important;
    }   
    }
    

    Where did I go wrong?

    Thank you in advance!

    Regards,
    Artem

    • This topic was modified 7 years, 10 months ago by artemtik.
    #750842

    Hey artemtik,

    Nesting is not allowed in regular CSS, you would have to use SASS or something similar if you want to do that. Please try this instead:

    #blogpost a {
         color: red !important;  
    }

    Best regards,
    Rikard

    #752223

    Hi, Rikard!

    Thank you very much for the clarification.

    Please, close the thread.

    Have a great day!

    Regards,
    Artem

    #753491

    Hi Artem,

    No problem, glad we could help. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Changing link colors in color section’ is closed to new replies.