I haven’t quite got the hang of this yet, is it possible to edit the html code for an individual page in the Midnight theme and if so where is this done? I have been looking in the editor but it alludes me. Simple stuff I expect but a fog exists.
What exactly do you need to edit?
You kindly answered my question the other day re-content area modifications without affecting other pages, you suggested page/post i.d from the source code, I haven’t been able to locate this and I’m not sure if you meant it was in the html or I could amend from the editor?
Right click your mouse on the page, (take this one for example) and scroll down to the body class section in the source code.
Here you’ll find a line of code which includes the post/page i.d
body class="topic bbpress single single-topic postid-36839 logged-in header-image full-width-content sp-forums
You can then use the postid in a new CSS rule as your selector to style that specific page or post.
And any content you add in the editor is specific to the page you add it to.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.