Community Forums › Forums › Design Tips and Tricks › How to edit single.php file?
Tagged: child themes, php
This topic contains 6 replies, has 2 voices, and was last updated by katmmad 5 months, 2 weeks ago.
-
AuthorPosts
-
December 10, 2012 at 1:40 pm #4250
Hmmn. I was just advised to put a clear div in my “single.php file” after the #subnav div and before the #inner div. Opening up Genesis’s single.php file, of course, tells me to only edit the Child Theme… and my Child Theme doesn’t have a single.php file. Even if I were to just copy the genesis/single.php file, I’m not quite sure how to edit the #subnav div and the #inner div. Help! (I did just take a quickie PHP class but this is my first time trying to edit Genesis/Lifestyle using it. Poking around the forums but thought it might be faster to just write a question… thanks in advance to anyone who can answer this!
thanks,
Kat
f you add a clear div after the #subnav div and before the #inner div, you won’t have this issue. You should be able to do this in your theme’s single.php file.
Example clear div.
<div style="clear:both;"></div>December 10, 2012 at 5:29 pm #4315What are you trying to accomplish?
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 11, 2012 at 6:48 am #4468I’m having a problem where my content is being pushed underneath the header if there are under 10 comments — it was suggested that I fix it with this change. The original problem was posted here: http://www.studiopress.com/forums/topic/wp-or-genesis-problem-disappearing-posts/
December 11, 2012 at 6:51 am #4473Did you modify anything in the Functions or PHP file? Have you added any content that requires a <div> element? Sometimes you need to check what you added – this doesn’t sound like an error or glitch in the theme but in something you added somewhere.
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 11, 2012 at 6:55 am #4474There is a Facebook iFrame in that Post. When I delete it using Firebug – the post returns to normal. What are you using for those Facebook likes or that iFrame?
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 11, 2012 at 6:58 am #4475I also see a lot of tracking codes on that post too. But if you have an active site and all the plugins are activate, we cannot help you. You should disable all of the plugins and give us an opportunity to look at it free and clear without them.
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 11, 2012 at 9:56 am #4503I’m going to stick to the other thread, then… I opened two because they seemed like separate (albeit related) problems.
-
AuthorPosts
You must be logged in to reply to this topic.