friedVol
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twelve] sticky posts – removing "Featured Post"I’m sorry, I had forgotten to mention that I had also updated the @import url to show twentytwelve/style.css.
Everything you have here is exactly what I have in my child style.css, except the Description and the Version. I had changed the Version to 1.3 because that’s the version I’ve got.
I’ll go play with it some more. Maybe revert to Version 1.0.0 and delete the Theme URI line. If I figure out what I did wrong, I’ll post it here to help others.
I’ve just found that your suggestion to change the content.php file removed the words and lines – and my header is still present.
Thank you!
Forum: Themes and Templates
In reply to: [Twenty Twelve] sticky posts – removing "Featured Post"Thank you, linux4me2.
I tried the css route. It removed the words and the lines a-ok, but my header disappeared, while the site title and the tagline, both of which had been hidden, appeared.
Did I miss something in creating the child theme?
The child themes page gave the starting lines to the child style.css file and implied that all I needed to put in it were Theme Name: Twenty Twelve Child and Template: twentytwelve in the comment section (bounded by /* and */). I did include a relevant Theme URI, albeit with an incorrect path since the example’s path was likely incorrect, but this didn’t seem to be essential. After the two comment sections, I placed the style snippet you gave in your reply.
I put the child style.css in a twentytwelve-child directory in the wp-content/themes folder and activated it via my Dashboard -> Appearance -> Themes.
When I activated the child theme, it appeared to deactivate the parent theme. That is, the child theme gave the message, “This child theme requires its parent theme Twenty Twelve.” The Twenty Twelve theme showed an “activate” link. I found I could not activate both simultaneously.
I’ll try the content.php fix next.
But I’d like to know why my child style.css fix made the header disappear. Any ideas?