CSS colour changes doesn't seem to work?

  • Question
  • Updated 3 years ago
  • Answered
I've made some changes to gigpress css and the template css on the website I'm working on so now the concert list page looks ok, but....!
The links are still coloured blue and kind of lilla, and sticks out (in a not so nice way). I would love to change it, but haven't found the solution.

I've tried to edit the default gigpress css, tried to copy the changes and place a gigpress.css file in the active template folder. I've tried to edit the template css as well but nothing seems to work...

Any ideas?
Would love any input on this - driving me crazy.. :-)

Photo of NielsN

Niels

  • 3 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Derek

Derek, Developer

  • 2020 Posts
  • 104 Reply Likes
Can you post a URL please?
Photo of NielsN

Niels

  • 3 Posts
  • 0 Reply Likes
Thanks for the quick reply.
I've managed to make some css changes, but still can't figure out the links in blue and 'purple/lilla'
URL is: http://danjal.net/gigs/
Photo of Derek

Derek, Developer

  • 2020 Posts
  • 104 Reply Likes
Your stylesheet doesn't have a rule for the "a" element in general. it's all very specific (for example, you have a rule for "a" elements in the sidebar, and a rule for "a" elements within a paragraph in the content area).

The links in the GigPress display don't match any of your rules for styling them, so they appear in your browser's default colour.

Just add a rule targeting the "a" element (or if you like, something more specific for only links within the GigPress table) to your custom gigpress.css stylesheet.
Photo of NielsN

Niels

  • 3 Posts
  • 0 Reply Likes
That did the trick :-) Thank you so much!