To make any modifications to a theme you have to create a child theme for it.
http://codex.ww.wp.xz.cn/Child_Themes
but if all you need is just to override some CSS things and nothing else ever, instead of creating a child theme, you could just use one of those Custom CSS plugin.
Like this one for example.
http://ww.wp.xz.cn/extend/plugins/my-custom-css
After you got your child theme activated, put this in under the @import line ( or in case of using plugin just put in its section ).
This for left align logo.
body #headimg #logo-image img { width: auto; }
This for center align logo.
body #headimg #logo-image img { width:auto;margin:0 auto;display:block; }
I installed the child theme like this
/*
Theme Name: Prana
Theme URI: http://example.com/
Description: Child theme for the Prana theme
Author: Ann Beck
Author URI: http://example.com/about/
Template: Prana
Version: 0.1.0
*/
@import url(“../prana/style.css”);
and when I went to activate it this appears
The following themes are installed but incomplete. Themes must have a stylesheet and a template.
Name Description
Prana The parent theme is missing. Please install the “Prana” parent theme.
Do you know where I messed up? I don’t know how to code so I probably did something stupid. Thanks!
That worked I was able to activate the theme 🙂 but when I added
body #headimg #logo-image img { width: auto; }
the logo size did not change. Any suggestions? Am I supposed to paste the actual width I want? Thanks for your help.
Can you post a link to your site?
ok, I can’t explain this but the child theme eliminated my sidebar. When I added back the sidebar widgets and refreshed the page the logo problem resolved itself. So (for now) I am good to go. Thank you so much for all of your help!
Changes made to CSS takes effect right away, but browser keeps cache, so each time we have to do a hard refresh (Ctrl+F5).
Childtheme doesn’t eliminate sidebar widgets, it just that WP doesn’t know if the new theme we’ve just switched to has the same widget areas or what, so it moves widgets to the unused area with all its settings kept.
ah-ha, I have so much to learn….