Site logo

Archived topic

Center post title

15 replies · Started by Brad on July 7, 2021

Viewing posts 1–15 of 16

I am trying to center the post title on all posts, as it looks strange, but none of the code I can find works.

.single h1.entry-title {
text-align: center;
}

I tried using this and doesn't change it. If it helps I am using the marketer theme.

Hi there,

That code should work.

Can you link me to the post in question with the code added?

Let me know :)

Can I add my blog here without others seeing the blog? Wanting it to stay private.

I added it to the site but doesn't work. Least it doesn't appear to for me.

oops wrong spot. here.

Not sure it's linking. One last try lol.

I'm not seeing the CSS being added.

Can you clear and disable your caching plugin first?

Ok, I cleared it.

I added it to customize>additional css

Looks like you've added the code inside the mobile only media query @media (max-width: 768px) { so it only works on mobile:
https://www.screencast.com/t/w6taOvnxqO

Moving it outside should work.

Let me know :)

Oh wow. I am stupid lol. I didn't even realize. That worked. Thank you :)

No problem :)

Since I did that I am having a new problem. The site looks completely funky now. When editing it looks normal but when I go and actually look its completely messed up and stretched. Can you verify if it's completely messed up? It also stopped putting the h1 center. I am not sure what happened.

This is what it looks like.

Yeah. In the customizer everything looks fine, I add that code in where it was and it doesn't change anything now. I check on my phone, desktop and tablet and all the posts are messed up now. Customizer looks right but actual website looks completely messed up.

This archived topic is closed to new replies.