twenty twelve theme menu text color
-
Hi I am having a bit of trouble changing the text color i my menu, I changed the background color but for some reason the text color will not change.
Heres the site:
http://wpexample1.dan-jones.co.uk/Please help,
Thanks
Dan
-
You need to be using a Child Theme for any modifications to theme files –
http://codex.wordpress.org/Child_Themes
Or if you are only changing CSS, you can use a Custom CSS plugin.
EDIT:
I am going to try the child theme waycheers
Dan
EDIT – cross-posted with you – good idea :)!
All of the changes you’ve made to theme files will be overwritten and lost when WP is updated – so that’s quite problematic. It’s also important to have a clean copy of the default theme for troubleshooting purposes.
Using a browser tool like Firebug is the best way to find the CSS for a specific element. Also, note that twentytwelve is mobil-first so some CSS needs to use media queries to work on regular sized screens.
Try this for navigation color:
/* Minimum width of 600 pixels. */ @media screen and (min-width: 600px) { .main-navigation li a { color: #6A6A6A; } }Haha yeah, I was thinking that when it updates it might lose it all, so thanks.
Should I copy my normal stye.css file into the child one, as it already has the changes?
It’s really not ideal to copy the entire thing – as it creates duplicate code and makes it much harder to keep track of the changes you’ve made. You can find your changes pretty easily using something like diffchecker – it’s a bit more work now, but you’ll likely be happier down the road.
Oh wow, okay and where will I find the original code? Now that I have changed mine so much?
Also when creating my child theme what will be my:
Theme URI: http://example.com/
Author URI: http://example.com/about/
?
Or can I leave these?Thanks for all the help WPyogi
The only things you must have are:
/* Theme Name: Whatever you want here Template: twentytwelve */ @import url("../twentytwelve/style.css"); //Then put your changes here.You can just download a new copy of the theme to your local computer –
http://wordpress.org/themes/twentytwelveOnce you’ve moved your changes, just reinstall the parent theme so you know you have a clean copy.
Also, you really should back up your files before you start messing with them :).
Okay so now if I take all the changes and put them into the child theme then replace my edited 2012 with the original my child will overwrite it and do what the child is saying if I set it to active?
Theoretically yes. You will also need to redo some theme settings and options in the child theme – as they aren’t all carried over.
Like what, yogi?
You mean like my search bar?
Like selecting the menu and widgets – don’t know about other things you’ve done.
Oh what 🙁 Well at least most of it still works. I hope this thread saves others the time Ive spent on this
quero fazer umas comfiguração em meu site com devo fazer/
oi boa tarde eu não consigo fazer postagem nem muda a cor do meu site
como fazer isso?
The topic ‘twenty twelve theme menu text color’ is closed to new replies.