Need to center titles on pages (except posts page)

  • Author
    Posts
  • #1111757

    Can anyone assist?

    The blog I need help with is belladonichaze.me.

    #1112023

    So it *is* titles that you want to center?! I wasn’t sure based on the reply you added to your other forum reply.

    To center all titles, do this:

    .entry-header {
    	text-align: center;
    }

    Then to switch back to left aligned titles on the blog posts page, add this:

    .blog .entry-header {
    	text-align: left;
    }

    And to also get left aligned titles on single posts, add this:

    .single .entry-header {
    	text-align: left;
    }
    #1112024

    Except for the contact page (say hello). Sorry for any confusion.

    #1112026

    Moving ‘Say Hello’ back to the left i(rather than centering) is the last thing I need help with regarding this thread. Once I have that code, I will close it.

    #1112037

    For that one, you’ll want to use a class name that is specific to the page to target just that one. To find it, I looked at the page source and found the unique class of “page-id-679” listed in the body tag. Then to apply it, you can do this:

    .page-id-679 .entry-header {
    	text-align: left;
    }
    #1112039

    Thank you so much. Sorry for being a pain in the ass.

    #1112064

    You are not a pain. :)

    #1112127

    @designsimply — can you assist me again? I have created new pages and the photo grids need to be centered.

    Thanks!

    #1112128

    Awaiting a reply from @designsimply. My threads keep mysteriously closing. Please…leave this ticket open until resolved…whoever is closing them.

    Thanks.

    #1112129

    @designsimply…I tried to duplicate the code using the page IDs per your suggestions with no luck. Any other ideas?

    #1112130

    timethief
    Member

    It’s possible that designsimply is not online or that she’s working elsewhere. It’s also possible that she did not subscribe to this thread in which case she won’t be notified when you bump this thread.

    #1112131

    Can you move it over to the CSS forum? I thought I already did…maybe it didn’t work.

    #1112132

    timethief
    Member

    Hi again,
    It’s in the CSS forum and designsimply is working forward from the earliest dated threads. She’s on January 29th currently.

    #1112133

    Just to note :) the CSS forums are a community, and I am not the only one who answers questions here. Anyone is welcome to join in and help.

    #1112134

    Awaiting a reply from @designsimply. My threads keep mysteriously closing. Please…leave this ticket open until resolved…whoever is closing them.

    If I answer the original question, I consider a topic closed and I will often mark it as resolved.

    If you have more questions after a thread has been closed, you can either reply and change the status to “not resolved” yourself or start a new help request. Keeping separate questions in separate topics helps with searching and helps keep each topic on point and easy to follow.

    Cheers! :)

    #1112135

    @designsimply — can you assist me again? I have created new pages and the photo grids need to be centered.

    I think we’ve already gone over this, possibly by email, and in the end I worked out that a setting wasn’t getting saved correctly and I fixed that on your blog.

    I consider this topic closed now. Please create new topics with separate questions! :)

The topic ‘Need to center titles on pages (except posts page)’ is closed to new replies.