- 
AuthorPosts
 - 
April 28, 2014 at 5:32 am #37971
Kazim EParticipantIt it possible to center the header text on a page? If so how?
April 28, 2014 at 5:33 am #37972
Kazim EParticipantLink: http://www.eatforsurvival.com/
Text I want to center/align is: Welcome to my Survival Guide Blog!
April 28, 2014 at 10:51 am #38084
AlexanderKeymasterHi there,
Sure you can do that with this CSS (Customizer > Custom > CSS)
.entry-title { text-align:center; }May 1, 2014 at 7:37 pm #39561
Kazim EParticipantHi there – I put this code in the customizer and it didn’t center the header text. Is there somthing wrong with the code?
.entry-title { text-align:center; }May 2, 2014 at 12:46 pm #39825
AlexanderKeymasterHi Kazim,
I checked, and I don’t see that the CSS was added at all. Can you please confirm that you added it under Customizer > Custom > CSS and saved the customizer?
May 2, 2014 at 7:54 pm #39982
Kazim EParticipantHi the code is in there now – please have a look
May 2, 2014 at 10:36 pm #40065
SupportMemberHi there!
Please use this instead:
.entry-title { text-align: center !important; }Let us know if it works.
May 3, 2014 at 6:47 pm #40211
Kazim EParticipantHi this did not work…
May 3, 2014 at 11:09 pm #40283
ChristianModeratorHey Kazim,
We didn’t see the code implemented. Maybe you placed it in the wrong area. Please give us access to your WordPress admin so we could check your setup.
Thanks.
May 4, 2014 at 10:15 pm #40563
Kazim EParticipantThis reply has been marked as private.May 5, 2014 at 12:51 am #40595
ChristianModeratorHey Kazim,
You missed a closing curly brace for the media query. The correct code is below.
@media all and (max-width: 767px) { .x-container-fluid.offset { margin: 0 auto 40px auto; } }Hope that helps. 🙂
May 5, 2014 at 6:04 pm #40895
Kazim EParticipantThis reply has been marked as private.May 6, 2014 at 10:56 am #41132
AlexanderKeymasterYou can target by specific post IDs. For example:
#post-194 .entry-title { text-align:center; }May 6, 2014 at 2:20 pm #41205
Kazim EParticipantSo will this also translate for pages? The run-jog link I gave you is a portfolio page…
Also I have my permalinks to postname – not Id’s – how do I find out the post ID?May 7, 2014 at 9:05 am #41514
SupportMemberHi Kazim,
The code for #post-194 only applies for the “Welcome to my Survival Guide Blog!” to be centered as you mentioned earlier. If you want to get the post ID, you can login to your wordpress and then find the page you want to target and edit the page. On the edit page, you can see the post ID of the current page/post on the URL of your browser.
Let me know if that helps you.
Thanks!
 - 
AuthorPosts
 
- <script> jQuery(function($){ $("#no-reply-37971 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
 
