Tagged: x
-
AuthorPosts
-
November 10, 2016 at 10:46 am #1251923
newskywebsitesParticipantHi there,
I’ve found lots of “almost there” code to center all my blog page titles, but it’s not quite right. Can you help? I’ve used this:
/* Center blog page title on page */
.blog .x-landmark {
width: 95% !important;
padding-right: 0 !important;
text-align: center !important;
}And that centers the title on the main blog page: http://835.05d.myftpupload.com/tree-care-blog/
BUT it’s not centered on individual post pages, category archive, or post archive by month. Sample urls:
http://835.05d.myftpupload.com/tree-fertilizer-when-to-fertilize-trees/
http://835.05d.myftpupload.com/category/arborist/
http://835.05d.myftpupload.com/2016/09/Is there code that can center all instances of blog page titles? Latest version of everything… Renew child theme.
Thank you!!
DawnNovember 10, 2016 at 12:25 pm #1252063
Prasant RaiModeratorHello There,
Thanks for writing in!
You can use this code under Custom > CSS in the Customizer instead to center align titles:
.entry-title { text-align: center; }Thanks.
November 11, 2016 at 7:41 am #1253292
newskywebsitesParticipantSorry, that didn’t help. I tried adding it to the code above and also I tried replacing the code above with your new code and it didn’t change anything. I’ll send my login credentials in case that helps…
Thanks,
DawnNovember 11, 2016 at 7:41 am #1253294
newskywebsitesParticipantThis reply has been marked as private.November 11, 2016 at 11:58 am #1253575
JadeModeratorHI Dawn,
Please try this code:
.archive .h-landmark span, .archive .entry-title.h-landmark span, .single-post .h-landmark span, .single-post .entry-title.h-landmark span { display: block; text-align: center; }Hope this helps.
November 11, 2016 at 2:34 pm #1253708
newskywebsitesParticipantThat did it! Thank you!!
November 11, 2016 at 7:22 pm #1254037
JadeModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1251923 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
