New Front EN › Support Forums › Sensei Theme Support › Centering blog heading & removing page heading
Tagged: heading
- This topic has 7 replies, 2 voices, and was last updated 11 years, 10 months ago by incraz.
-
AuthorPosts
-
January 23, 2013 at 7:09 pm #875incrazParticipant
Hi Andrew,
My very last question… I want to centre the post heading title. Entering HTML into the post editor page just results in two headings instead of one.
I would also like to remove the page heading that appears on the left just before the main body.
Thanks again,
Kari
January 23, 2013 at 11:49 pm #879satoriKeymasterDear Kari,
in order for me to provide the most adequate code, please clarify:
1). Do you want to center the blog post headings on the individual posts OR on the blog page?
2). I am not sure I understood which heading you want to remove – could you make a screenshot or give a URL with description?
Sincerely,
Andrew | SatoriJanuary 24, 2013 at 9:39 am #880incrazParticipantHi Andrew,
Yes sure. The test site is http://www.zarcollective/elements/. On the home page you will notice the heading HOME directly under the header. On the blog page its the same, the heading is “the blog”. In the actual blog post the title “alexander brown” is also left aligned. If you scroll to the bottom of the blog page you will see the duplicated numbers I mentioned.
Thanks again,
January 24, 2013 at 4:03 pm #881satoriKeymasterDear Kari,
you website you provided seems to be offline – could you please check it out?
Sincerely,
Andrew | SatoriJanuary 29, 2013 at 11:44 am #888incrazParticipantHI Andrew,
Sorry for my delay. Hmm I cant seem to work it out! It was working a couple of days ago. For now I seem to be able to get onto it through the following link. http://www.zarcollective.com/elements/trial-blog/. If this doesnt work I will send you screen shots!
Thanks,
Kari
January 30, 2013 at 6:34 pm #893incrazParticipantHi Andrew,
Any luck?
Thanks
January 30, 2013 at 8:52 pm #894satoriKeymasterDear Kari,
to center the top-level headings and remove the post headings, please insert this code into style.css (go to “Appearance -> Editor”, this file should be opened by default:
#blog-header { text-align: center !important; } .blog .post-header { display: none; }
To remove the “Home” header on the front page, just leave blank the heading field in the page editor mode.
To get rid of the second pager (I cannot say exactly why it appears by just looking at the front-end code without access to the backend), please download this archive from my repository, unzip it, and upload the files in the following locations:
“pager.php” – into /wp-content/themes/Sensei/includes/pager/
“index.php” – into /wp-content/themes/Sensei/Sincerely,
Andrew | SatoriJanuary 31, 2013 at 1:31 pm #895incrazParticipantThanks
-
AuthorPosts
- You must be logged in to reply to this topic.