Home › Forums › Weaver Xtreme Theme › align page title
- This topic has 17 replies, 2 voices, and was last updated 11 years, 1 month ago by
scrambler.
-
AuthorPosts
-
July 15, 2015 at 21:19 UTC - Views: 6 #18035
monere
ParticipantHi,
how do I align the title of the home page to the right? It currently is on the left of the page. Actually, I might need to do this for posts as well, but for now I’m only interested in aligning the title of the home page only
July 15, 2015 at 21:51 UTC - Views: 3 #23406scrambler
ModeratorPlease always include a link to your site so we can be sure of the details.
You should be able to do what you want by adding the rule below in Main Options > FOnts & Custom > CUstom CSS Rule box
.home .page-title {text-align:right;}
For single post pages you could use
.single-post .page-title {text-align:right;}
July 15, 2015 at 23:45 UTC - Views: 3 #23407monere
Participantyep, that did the trick…
Cheers!
July 20, 2015 at 22:06 UTC - Views: 6 #23408monere
ParticipantUgh, I need to align the title of the privacy policy page, too now.
Can you please help me again? I tried to use the same short code as the one used for the home page, but replace “home” with…. “privacypolicy”, “privacy policy”, “privacy-policy”, and “privacy.policy” but it didn’t work. And yes, I did put the dot in front of the word “privacy”, but to no avail.
Here’s the website: http://www.fixmycough.com
I hid the title of the privacy policy page until I’ll be able to align it to the right.
Oh, and since I’m at it… if you’ll look at the sitemap page you will see that the home page appears on the sitemap page with the title “How to Get Rid of Coughing”. I’d like to replace that title with “HOME”, without changing the home page’s title, obviously. Any suggestion on how to do this?
July 20, 2015 at 22:24 UTC - Views: 6 #23409scrambler
ModeratorFor other pages, you need to use the page id class
.page-id-xxx
replacing xxx by the ID# of the page. In the case of the privacy policy page that means
.page-id-2904 .page-title {text-align:right;}
No way to get a different title than the actual title off the page in the sitemap page that I can think of.
the best I can do is make it look like
Home (How to Get Rid of Coughing)
by adding the rules below in Main Options > Fonts & Custom > Custom CSS Rule box
.page-id-298 .page-item-131:before {content:”Home (“;}
.page-id-298 .page-item-131:after {content:”)”;}July 20, 2015 at 22:49 UTC - Views: 4 #23410monere
ParticipantOh well, I’ll guess I’ll leave it like this for a while.
Many thanks! 🙂
PS: do you happen to know why I don’t receive notifications by email when you reply to my posts? After the last you replied to my post I went to notifications and checked all of those boxes, so basically I should receive an email even when the moon rises up…. well, manner of speaking 🙂 But I get no email whatsoever. Could it be because of yahoo? My email is on yahoo
July 20, 2015 at 22:51 UTC - Views: 3 #23411scrambler
ModeratorNotifications on this forum do not work well.
The best seems to be to check the green star at the top right of the thread to make it a favorite thread (yellow), as favorite notification does seem to work more reliably
July 20, 2015 at 22:56 UTC - Views: 3 #23412monere
ParticipantOh, I wasn’t aware of that. Thanks for the tip 🙂
July 20, 2015 at 22:58 UTC - Views: 4 #23413monere
ParticipantOh dear… sorry for bothering you again, but I forgot yet another thing 🙁
Namely… why don’t categories show up on the sitemap page? You can see the categories in the sidebar (right below the adsense unit). Yet, they’re not showing up on the sitemap page
July 20, 2015 at 23:21 UTC - Views: 3 #23414scrambler
ModeratorIf I click on the categories in the sidebar, it says nothing found.
If you don’t have any posts yet in these categories, they wont show up in the sitemap page
July 20, 2015 at 23:29 UTC - Views: 6 #23415monere
Participantoh, that would explain it then 🙂
oh well, time to make some posts then. Cheers!
PS: I favorited this thread but I still didn’t receive an email. It’s no biggie, though. I just wanted to let you know, that’s all 🙂
Over and out!
July 21, 2015 at 00:09 UTC - Views: 3 #23416scrambler
ModeratorDo you have all the notifications preference checked?
July 22, 2015 at 21:05 UTC - Views: 3 #23417monere
ParticipantAll general preferences are checked, yes. The other ones (the ones below general notifications, sorry I don’t remember how they’re called) are not checked.
Also, how do I align the title of the posts to the right? The site is the same as above, and the shortcode you gave me for the home page didn’t work for posts, too. Replacing “page-title” with “post-title”, obviously 🙂
Also, is it possible to draw a straight line below each post’s/page’s title, just like I accidentally drew under the post’s titles on the category pages?
July 22, 2015 at 23:08 UTC - Views: 3 #23418scrambler
ModeratorPut the rule below in Main Options > Post Specifics > Post Title > Post Title BG CSS+ box
{text-align:right;}
July 25, 2015 at 15:33 UTC - Views: 3 #23419monere
Participantthat doesn’t do anything. Could be that you’ve made a typo? Also, I’m not sure if putting this CSS rule in the box designated to the post title background section is proper…
July 25, 2015 at 19:19 UTC - Views: 4 #23420scrambler
Moderatorthe rule I gave you in the place I told you will align the post title right in a blog page.
If you meant you wanted the Post title aligned right in a Single post page, then you will need to add the rule below in Main Options > Fonts & Custom > Custom CSS Rule box
.single-post .page-title {text-align:right;}
as for your remark “Also, I’m not sure if putting this CSS rule in the box designated to the post title background section is proper…” I don’t know what makes you think that.
CSS+ box are meant for exactly that purpose. An element BG CSS+ box will generate a rule with a selector that matches the element in question and will therefore allow you to style any attributes other that the BG for that element
-
AuthorPosts
- You must be logged in to reply to this topic.

