Page 1 of 1 [ 4 posts ] 

SocOfAutism
Veteran
Veteran

Joined: 2 Mar 2015
Gender: Female
Posts: 3,078

21 Jul 2015, 9:50 am

I'm using a theme in my Wordpress, and it's overriding any manual HTML edits I try to make.

I'm trying to make my links blue, but it won't take them.

When I try to google how to fix this, it tells me to put a section of code into the CSS sheet, which I can't find in there.

People keep going to my page and getting confused because the links don't look like links. It would be tedious to take off the theme and rebuild it that way so I don't want to do that either. I haven't done any coding in years and even then my skills were well below average. Can anyone help?

The page is for my study. Here it is if anyone wants to look at the front end: https://autatwork.wordpress.com/



0_equals_true
Veteran
Veteran

User avatar

Joined: 5 Apr 2007
Age: 44
Gender: Male
Posts: 11,038
Location: London

27 Jul 2015, 1:48 pm

First you need to create a child theme
https://codex.wordpress.org/Child_Themes

Second you should learn CSS specificity and cascade rules
http://www.w3.org/TR/CSS21/cascade.html

I recommend learning how to user a browser inspector. Firefox and Chrome have them out of the box, and they will help with finding the element. They also help you understand why the rules are overridden.



SocOfAutism
Veteran
Veteran

Joined: 2 Mar 2015
Gender: Female
Posts: 3,078

27 Jul 2015, 3:50 pm

0_equals_true wrote:
First you need to create a child theme
https://codex.wordpress.org/Child_Themes

Second you should learn CSS specificity and cascade rules
http://www.w3.org/TR/CSS21/cascade.html

I recommend learning how to user a browser inspector. Firefox and Chrome have them out of the box, and they will help with finding the element. They also help you understand why the rules are overridden.


That's exactly the sort of help I needed. Thank you!



morslilleole
Veteran
Veteran

User avatar

Joined: 17 Dec 2011
Age: 37
Gender: Male
Posts: 511
Location: Norway

28 Jul 2015, 1:27 pm

0_equals_true wrote:
First you need to create a child theme
https://codex.wordpress.org/Child_Themes

Second you should learn CSS specificity and cascade rules
http://www.w3.org/TR/CSS21/cascade.html

I recommend learning how to user a browser inspector. Firefox and Chrome have them out of the box, and they will help with finding the element. They also help you understand why the rules are overridden.


Thanks for the child theme link, I should look into this myself, instead of just changing the main theme and having my chances overriden every time I upgrade :wall:


_________________
Want to learn to make games? http://headerphile.com/